mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-23 07:36:12 +08:00
fix(travis): switch to matrix build strategy
This commit is contained in:
parent
8230148e5e
commit
8b02e4106c
1 changed files with 16 additions and 7 deletions
23
.travis.yml
23
.travis.yml
|
@ -1,17 +1,26 @@
|
|||
language: node_js
|
||||
node_js:
|
||||
- "4.1"
|
||||
- "4.0"
|
||||
- "0.12"
|
||||
- "0.10"
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- os: linux
|
||||
env: NODE_VERSION=0.10
|
||||
- os: linux
|
||||
env: NODE_VERSION=0.12
|
||||
- os: linux
|
||||
env: NODE_VERSION=4
|
||||
- os: osx
|
||||
env: NODE_VERSION=0.10
|
||||
- os: osx
|
||||
env: NODE_VERSION=0.12
|
||||
- os: osx
|
||||
env: NODE_VERSION=4
|
||||
|
||||
sudo: false
|
||||
|
||||
install:
|
||||
- git clone https://github.com/creationix/nvm.git /tmp/.nvm
|
||||
- source /tmp/.nvm/nvm.sh
|
||||
- nvm install $NODE_VERSION
|
||||
- nvm use $NODE_VERSION
|
||||
|
||||
script: script/cibuild
|
||||
|
||||
addons:
|
||||
|
|
Loading…
Reference in a new issue