diff --git a/.travis.yml b/.travis.yml index 472c89f..6f1aaee 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,12 +11,17 @@ # Travis CI Documentation # (https://docs.travis-ci.com) language: node_js +dist: trusty +sudo: false node_js: + - "4" - "6" -cache: - directories: - - $HOME/node_modules + - "7" +before_install: + - rm -rf ./node_modules before_script: - - npm install -g gulp + - npm install -g gulp-cli + - npm install gulp - npm install -script: gulp lint +script: + - gulp --harmony lint diff --git a/circle.yml b/circle.yml index 8bc3da2..820156d 100644 --- a/circle.yml +++ b/circle.yml @@ -9,14 +9,20 @@ # # [References] # Circle CI -# (https://circleci.com/docs) +# https://circleci.com/docs +machine: + environment: + PATH: "${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin" machine: node: - version: 6.1.0 + version: 7 dependencies: + pre: + - rm -rf ./node_modules override: - - npm install -g gulp + - npm install -g gulp-cli + - npm install gulp - npm install test: override: - - gulp lint + - gulp --harmony lint