Skip to content

Commit

Permalink
Merge pull request #94 from calpa/fix-travisCI-20181101
Browse files Browse the repository at this point in the history
fix: travisCI building bug
  • Loading branch information
calpa authored Nov 1, 2018
2 parents fd8752f + ae595fb commit d0eaa44
Show file tree
Hide file tree
Showing 2 changed files with 2,105 additions and 560 deletions.
12 changes: 10 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ services:
- docker
os:
- linux
dist:
trusty
dist: trusty
cache:
directories:
- node_modules
# use container-based build env for faster boot
sudo: true
addons:
Expand All @@ -13,6 +15,12 @@ language: node_js
node_js:
- "8"

before_install: npm install -g greenkeeper-lockfile
install: case $TRAVIS_BRANCH in greenkeeper*) npm i;; *) npm ci;; esac;

before_script: greenkeeper-lockfile-update
after_script: greenkeeper-lockfile-upload

script:
- npm install
- npm run build
Loading

0 comments on commit d0eaa44

Please sign in to comment.