-
Notifications
You must be signed in to change notification settings - Fork 59
/
.travis.yml
43 lines (41 loc) · 1.23 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
###
### .travis.yml
###
sudo: false
os: linux
dist: trusty
language: node_js
node_js:
- 'node'
- '8'
- '6'
- '4'
env:
- NODE_ENV=development
notifications:
slack:
secure: fsCX0/TDE9TAJR0S91dboOZ4expmCc8o6joVzsHNJYTJfDtSJehdKjTzYuO/vsRigOOoQZ0dJEPl+D4fysBDV+jkOT5sTjp/uKtcfwHwPi03K8GauwvyW0x4N1M+mY+5jN2ZyBZXqVM5dc0wbgldP9QOg5UpB80hfWUZ+0F1MTM=
deploy:
provider: npm
email: [email protected]
api_key:
secure: G58hf18DK3OzBUnSflTj9z4HPImAVxa9v/VKCvnG9gqaRyDtjoHweZWjzEu2K+ThtMOTbDCJx86KEOkHxKnjYPoXPbhHwK6LlfzRqv2rwsqkJLG0EirPecZA2aeTkxZBqf4camLIJY8GL9v0FiwB7CZ5QHlxhluhnZj+N6kPkaU=
on:
tags: true
repo: cybertk/abao
after_success:
# - grunt coveralls:upload
- COVERAGE_FILE="$TRAVIS_BUILD_DIR/coverage/coverage.lcov"
- COVERALLS_BIN="./node_modules/.bin/coveralls"
- $COVERALLS_BIN lib < $COVERAGE_FILE; echo "exit=$?"
- echo
- echo
- echo "===== COMMIT ====="
- echo "TRAVIS_REPO_SLUG=$TRAVIS_REPO_SLUG"
- echo "TRAVIS_COMMIT=$TRAVIS_COMMIT"
- echo "TRAVIS_COMMIT_MESSAGE=$TRAVIS_COMMIT_MESSAGE"
- echo "TRAVIS_TAG=$TRAVIS_TAG"
- echo "TRAVIS_BRANCH=$TRAVIS_BRANCH"
- echo "===== BUILD ====="
- echo "TRAVIS_BUILD_NUMBER=$TRAVIS_BUILD_NUMBER"
- echo "TRAVIS_BUILD_DIR=$TRAVIS_BUILD_DIR"