https://github.com/sagemathinc/cocalc
Raw File
Tip revision: bc74f815dfb6f78e5126904a0738d3793f8c8281 authored by John Jeng on 25 April 2019, 00:07:24 UTC
Add more descriptive file-use type
Tip revision: bc74f81
.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