mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
chore(ci): setup travis config
This commit is contained in:
+18
-1
@@ -5,6 +5,23 @@ node_js:
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- node_modules
|
||||
- "$HOME/.npm"
|
||||
|
||||
env:
|
||||
global:
|
||||
- NO_UPDATE_NOTIFIER=1
|
||||
- NODE_NO_WARNINGS=1
|
||||
|
||||
sudo: false
|
||||
|
||||
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"
|
||||
|
||||
script:
|
||||
- npm run test
|
||||
|
||||
Reference in New Issue
Block a user