freeCodeCamp/.travis.yml

34 lines
603 B
YAML
Raw Normal View History

language: node_js
node_js:
- 'lts/*'
2016-04-03 03:52:52 +00:00
cache:
directories:
2019-02-15 20:52:11 +00:00
- '$HOME/.npm'
2018-09-26 15:01:08 +00:00
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 20:52:11 +00:00
script: 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