Skip to content

Commit

Permalink
Updates to travis yml (#81)
Browse files Browse the repository at this point in the history
* Add osx as travis target
* Remove caching -- we don't have a large node_modules and it will catch more issues.
* Only run travis on master
* Build with npm 4 for now due to an issue on osx that's being investigated... more info to follow.
  • Loading branch information
Schmavery authored Apr 17, 2018
1 parent fb4198c commit 20b91ef
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,29 @@
dist: trusty
matrix:
include:
- os: linux
dist: trusty
- os: osx

language: node_js

node_js:
- 8

addons:
apt:
packages:
- libsdl2-dev
- fcitx-libs-dev
- libibus-1.0-dev
cache:
directories:
- node_modules

script:
- npm install
- npm run build
- npm run build:bytecode
- npm run build:native

before_install: if [[ `npm -v` != 4* ]]; then npm i -g npm@4; fi

branches:
only:
- master

0 comments on commit 20b91ef

Please sign in to comment.