Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (23 sloc) 727 Bytes
language: node_js
node_js: [node]
before_install:
# Download and export yarn.
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.0.1
- export PATH=$HOME/.yarn/bin:$PATH
# Export the C++11 compiler.
- if [[ $TRAVIS_OS_NAME == "linux" ]]; then export CXX=g++-4.8; fi
cache:
# Cache yarn packages.
yarn: true
env:
# Do two runs, one for testing and one for linting.
matrix:
- TEST_TYPE=test
- TEST_TYPE=lint
script:
# Run bootstrap first so that the proper workspaces links are created.
- yarn run bootstrap
# Build all of the packages so they are resolvable by each other.
- yarn run build
# Run testing or linting depending on the environment.
- yarn run $TEST_TYPE
You can’t perform that action at this time.