freeCodeCamp/.travis.yml

37 lines
645 B
YAML
Raw Normal View History

language: node_js
node_js:
- 'lts/*'
2016-04-03 03:52:52 +00:00
cache:
directories:
2018-09-26 15:01:08 +00:00
- "$HOME/.npm"
env:
global:
- NO_UPDATE_NOTIFIER=1
- NODE_NO_WARNINGS=1
2018-09-26 15:01:08 +00:00
before_install:
- npm config set loglevel warn
install: npm ci
before_script:
- git config --global user.email team+camperbot@freeCodeCamp.org
- git config --global user.name "CamperBot"
jobs:
include:
- stage: Unit and Integration tests
2019-02-15 14:27:16 +00:00
script:
- npm run ensure-env
- npm test
- stage: Artifacts builds
if: branch = master && type != pull_request
2019-02-15 09:52:26 +00:00
script: bash tools/ci-scripts/trigger-build.sh
install: skip
before_script: skip
2019-02-15 09:52:26 +00:00