Skip to content

Commit 3d9a81f

Browse files
committed
(#89) Updated Travis config to test against multiple node versions
1 parent ae34ffe commit 3d9a81f

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.travis.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,17 @@ addons:
1515
services:
1616
- docker
1717

18+
matrix:
19+
include:
20+
- name: "Node 8"
21+
env: NODE_VERSION=8
22+
- name: "Node 10"
23+
env: NODE_VERSION=10
24+
- name: "Node 11"
25+
env: NODE_VERSION=11
26+
- name: "Node 12"
27+
env: NODE_VERSION=12
28+
1829
before_install:
1930
# Update Docker
2031
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
@@ -27,7 +38,7 @@ before_install:
2738
install: true
2839

2940
script:
30-
- travis_retry docker exec nut-ci bash -c "bash $PWD/.build/build.sh ${PWD} lts/dubnium"
41+
- travis_retry docker exec nut-ci bash -c "bash $PWD/.build/build.sh ${PWD} ${NODE_VERSION}"
3142

3243
after_success:
3344
- sonar-scanner

0 commit comments

Comments
 (0)