chore(ci): setup travis config

This commit is contained in:
Mrugesh Mohapatra
2018-09-26 20:31:08 +05:30
parent fda64e92be
commit 12ee5fd431
3 changed files with 223 additions and 4 deletions
+18 -1
View File
@@ -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