Skip to content

Commit

Permalink
testing building.
Browse files Browse the repository at this point in the history
  • Loading branch information
wreiske committed Oct 17, 2019
1 parent c5d7b8f commit 25a7d2b
Showing 1 changed file with 25 additions and 3 deletions.
28 changes: 25 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,30 @@ os:
language: node_js
node_js:
- "10.16.0"
before_cache:
- rm -rf $HOME/build/wreiske/asteriskmonitor/.meteor/local/log
- rm -rf $HOME/build/wreiske/asteriskmonitor/.meteor/local/run
- rm -rf $HOME/build/wreiske/asteriskmonitor/.meteor/local/db
cache:
directories:
- "$HOME/node_modules"
- "$HOME/.meteor"
- "$HOME/.npm"
- "$HOME/.node-gyp"
- "$HOME/build/wreiske/asteriskmonitor/node_modules"
- "$HOME/build/wreiske/asteriskmonitor/.meteor/local"
before_install:
- "curl https://install.meteor.com | /bin/sh"
- if [ ! -e "$HOME/.meteor/meteor" ]; then curl https://install.meteor.com | sed s/--progress-bar/-sL/g | /bin/sh; fi
install:
- export PATH="$HOME/.meteor:$PATH"
script:
- meteor npm install
- npm run test
- mkdir /tmp/build
- meteor --version
- travis_retry meteor npm install
- |-
- travis_retry meteor build --headless /tmp/build --architecture os.linux.x86_64 --server-only
- mkdir /tmp/build-test
- tar -xf /tmp/build/asteriskmonitor.tar.gz -C /tmp/build-test/
- cd /tmp/build-test/bundle/programs/server
- npm install
- cd -

0 comments on commit 25a7d2b

Please sign in to comment.