https://github.com/sagemathinc/cocalc
Raw File
Tip revision: ba7f4a8f166b1392bd971e33e97e52e26f158811 authored by Harald Schilly on 01 November 2019, 20:27:56 UTC
Merge remote-tracking branch 'origin/master' into jupyter-smarter-images
Tip revision: ba7f4a8
.travis-install-services.sh
# kucalc-style
set -ex

npm install coffeescript -g

cd $TRAVIS_BUILD_DIR/src
npm install uglify-js

# the first few are for the hub services, but we also build the project
for path in smc-util smc-util-node smc-hub smc-webapp smc-webapp/jupyter smc-project smc-project/jupyter smc-webapp/jupyter; do
    cd $TRAVIS_BUILD_DIR/src/$path
    npm ci
done

# hub: build primus
env SALVUS_ROOT=$TRAVIS_BUILD_DIR/src PATH=$TRAVIS_BUILD_DIR/src/node_modules/.bin:$PATH $TRAVIS_BUILD_DIR/src/webapp-lib/primus/update_primus

# coffee: # the first few are for the hub services, but we also build the project
for path in smc-util smc-util-node smc-hub smc-webapp smc-project smc-project/jupyter smc-webapp/jupyter; do
    coffee -c $TRAVIS_BUILD_DIR/src/$path
done

## project: typescript
#cd $TRAVIS_BUILD_DIR/src/smc-project
#$TRAVIS_BUILD_DIR/src/node_modules/.bin/tsc -p tsconfig.json

back to top