Skip to content

Commit

Permalink
fix(template-base): update Travis CI config to best practices (#1539)
Browse files Browse the repository at this point in the history
  • Loading branch information
malept authored Mar 3, 2020
1 parent 5f1b240 commit a34656b
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions packages/template/base/tmpl/_travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
language: node_js
node_js: "8"
node_js: "10"
os:
- linux
- osx
dist: xenial
dist: bionic
osx_image: xcode10.1

cache:
npm: true
yarn: true
directories:
- $HOME/.cache/electron

Expand All @@ -22,10 +23,6 @@ branches:
- master
- /^v\d+\.\d+\.\d+/

install:
- npm install
- npm update

script:
- npm run lint
- if test -z "$TRAVIS_TAG"; then npm run make; fi
Expand Down

0 comments on commit a34656b

Please sign in to comment.