Skip to content
This repository has been archived by the owner on May 11, 2018. It is now read-only.

Commit

Permalink
Include yarn.lock and update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
existentialism committed Jan 7, 2017
1 parent 2982b6e commit 05cf9ee
Show file tree
Hide file tree
Showing 4 changed files with 3,143 additions and 4 deletions.
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ node_modules
scripts
.eslintignore
.travis.yml
yarn.lock
19 changes: 16 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,31 @@ sudo: false
language: node_js
cache:
directories:
- node_modules
- node_modules
- ~/.yarn-cache
node_js:
- '7'
- '6'
- '4'
- '0.12'
- '0.10'
env:
global:
- PKG_CMD="npm"
before_install:
- nvm use $TRAVIS_NODE_VERSION
- npm set loglevel error
- npm set progress false
install:
- $PKG_CMD install
script:
- 'if [ -n "${LINT-}" ]; then npm run lint ; fi'
- 'if [ -z "${LINT-}" ]; then npm run ci ; fi'
- 'if [ -n "${LINT-}" ]; then $PKG_CMD run lint ; fi'
- 'if [ -z "${LINT-}" ]; then $PKG_CMD run ci ; fi'
matrix:
fast_finish: true
include:
- node_js: "node"
env: PKG_CMD="yarn"
before_install: npm i -g yarn
- node_js: "node"
env: LINT=true
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"babel-plugin-transform-flow-strip-types": "^6.8.0",
"babel-preset-es2015": "^6.14.0",
"babel-register": "^6.14.0",
"compat-table": "github:kangax/compat-table#e732718eab42c6c83a364450f456474638d31f94",
"compat-table": "kangax/compat-table#e732718eab42c6c83a364450f456474638d31f94",
"eslint": "^3.3.1",
"eslint-config-babel": "^3.0.0",
"eslint-plugin-babel": "^4.0.0",
Expand Down
Loading

0 comments on commit 05cf9ee

Please sign in to comment.