Permalink
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (22 sloc) 539 Bytes
language: node_js
node_js:
- 4
- 6
- 7
sudo: false
before_install:
- npm install -g pnpm
install:
- pnpm install
script:
- npm test
- if [[ $TRAVIS_NODE_VERSION == "4" ]]; then npm run docs:build; fi
after_success:
- if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then ./node_modules/.bin/git-update-ghpages -e; fi
env:
global:
- CC=clang CXX=clang++ npm_config_clang=1
- GIT_NAME: Travis CI
- GIT_EMAIL: nobody@nobody.org
- GITHUB_REPO: rstacruz/pnpm
- GIT_SOURCE: _docpress