mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 18:40:16 +02:00
Use Travis CI's multi-OS feature
This commit is contained in:
parent
fe2eccef39
commit
e576165cf1
@ -4,6 +4,9 @@ node_js:
|
||||
- "0.12"
|
||||
- "4"
|
||||
- "5"
|
||||
os:
|
||||
- linux
|
||||
- osx
|
||||
sudo: false
|
||||
addons:
|
||||
apt:
|
||||
@ -11,7 +14,9 @@ addons:
|
||||
- ubuntu-toolchain-r-test
|
||||
packages:
|
||||
- g++-4.8
|
||||
env:
|
||||
CXX=g++-4.8
|
||||
osx_image: xcode7.3
|
||||
before_install:
|
||||
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CXX=g++-4.8; fi
|
||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install homebrew/science/vips; fi
|
||||
after_success:
|
||||
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
|
||||
|
Loading…
x
Reference in New Issue
Block a user