mirror of https://github.com/pelias/api.git
Diana Shkolnikov
10 years ago
1 changed files with 8 additions and 2 deletions
@ -1,7 +1,13 @@
|
||||
language: node_js |
||||
script: |
||||
- npm run unit |
||||
- if [ "${TRAVIS_BRANCH}" == "production" ]; then npm run acceptance-prod fi; |
||||
- if [ "${TRAVIS_BRANCH}" == "master" ] && [ "${TRAVIS_PULL_REQUEST}" == "false" ]; then npm run acceptance-stage fi; |
||||
- > |
||||
if [ "${TRAVIS_BRANCH}" == "production" ]; then |
||||
npm run acceptance-prod; |
||||
fi; |
||||
- > |
||||
if [ "${TRAVIS_BRANCH}" == "master" ] && [ "${TRAVIS_PULL_REQUEST}" == "false" ]; then |
||||
npm run acceptance-stage; |
||||
fi; |
||||
node_js: |
||||
- "0.10" |
Loading…
Reference in new issue