1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-02-01 05:16:10 +01:00
slate/.travis.yml
Eric Edem 2a99679753 debt(codecov): disable code coverage in builds (#2183)
Right now code coverage results in a lot of false positives for failing builds. This makes it really difficult to tell at a glance whether PRs are passing / failing something more important like linting or tests.

Disabling for now until we can find a better approach.
2018-09-18 12:10:41 -07:00

31 lines
543 B
YAML

language: node_js
node_js: [node]
before_install:
# Export the C++11 compiler.
- if [[ $TRAVIS_OS_NAME == "linux" ]]; then export CXX=g++-4.8; fi
cache: yarn
env:
# Do two runs, one for testing and one for linting.
matrix:
- TEST_TYPE=lint:eslint
- TEST_TYPE=lint:prettier
before_script:
- |
set -e
if [[ $TEST_TYPE == 'lint:eslint' ]]; then
lerna bootstrap
yarn build
fi
set +e
script:
# Run testing or linting depending on the environment.
- |
set -e
yarn $TEST_TYPE
set +e