https://github.com/sagemathinc/cocalc
Raw File
Tip revision: 4d6e812590849006a00618c214bdb9ddbfaa8864 authored by William Stein on 06 September 2019, 19:54:39 UTC
billing: fix tiny relatively harmless bug introduced by continue_first_purchase billing state being introduced without developer being aware of how course purchases happen.
Tip revision: 4d6e812
.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