1 | language: node_js
|
2 |
|
3 | node_js:
|
4 | - "8"
|
5 |
|
6 | env:
|
7 | global:
|
8 | - GIT_NAME: Travis CI
|
9 | - GIT_EMAIL: mail@victorquinn.com
|
10 | - GITHUB_REPO: chancejs/chancejs
|
11 | - GIT_SOURCE: _docpress
|
12 |
|
13 | before_script:
|
14 | - npm install -g gulp-cli
|
15 |
|
16 | script:
|
17 | - gulp travis
|
18 | - ./node_modules/.bin/docpress build
|
19 |
|
20 | after_script:
|
21 | - './node_modules/.bin/nyc report --reporter=text-lcov | ./node_modules/.bin/coveralls'
|
22 |
|
23 | after_success:
|
24 | - './node_modules/.bin/nyc ava'
|
25 | - if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then ./node_modules/.bin/git-update-ghpages -e; fi
|
26 |
|
27 | sudo: false
|