1 | language: node_js
|
2 | node_js:
|
3 | - "4.1"
|
4 | script:
|
5 | - npm run coverage
|
6 | - npm run test:lint
|
7 | - ./node_modules/.bin/docpress build
|
8 | after_success:
|
9 | - if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then ./node_modules/.bin/git-update-ghpages -e; fi
|
10 | cache:
|
11 | directories:
|
12 | - node_modules
|
13 | env:
|
14 | global:
|
15 | - GIT_NAME: Travis CI
|
16 | - GIT_EMAIL: nobody@nobody.org
|
17 | - GITHUB_REPO: rstacruz/scour
|
18 | - GIT_SOURCE: _docpress
|