https://github.com/sagemathinc/cocalc
Raw File
Tip revision: a2ca9108e03ef9c6425c0726b45e35a30d915478 authored by William A. Stein on 23 April 2019, 17:47:08 UTC
fix the English in https://github.com/sagemathinc/cocalc/pull/3768
Tip revision: a2ca910
.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 install
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