File tree Expand file tree Collapse file tree 1 file changed +26
-18
lines changed Expand file tree Collapse file tree 1 file changed +26
-18
lines changed Original file line number Diff line number Diff line change 1- os : linux
2- dist : xenial
3-
4- language : node_js
5- node_js :
6- - " lts/dubnium"
71cache : npm
82
93addons :
@@ -17,26 +11,40 @@ services:
1711
1812matrix :
1913 include :
20- - name : " Node 10"
14+ - name : " Linux Node 10"
15+ os : linux
16+ dist : xenial
2117 env : NODE_VERSION=10
22- - name : " Node 11"
18+ - name : " Linux Node 11"
19+ os : linux
20+ dist : xenial
2321 env : NODE_VERSION=11
24- - name : " Node 12"
22+ - name : " Linux Node 12"
23+ os : linux
24+ dist : xenial
2525 env : NODE_VERSION=12
26+ - name : " macOS Node 10"
27+ os : osx
28+ osx_image : xcode11
29+ language : node_js
30+ node_js : " 10"
31+ - name : " macOS Node 11"
32+ os : osx
33+ osx_image : xcode11
34+ language : node_js
35+ node_js : " 11"
36+ - name : " macOS Node 12"
37+ os : osx
38+ osx_image : xcode11
39+ language : node_js
40+ node_js : " 12"
2641
2742before_install :
28- # Update Docker
29- - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
30- - sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
31- - sudo apt-get update
32- - sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
33- - docker pull s1hofmann/nut-ci:latest
34- - docker run -it -d --name nut-ci --user $(id -u):$(id -g) -v ${PWD}:${PWD}:rw s1hofmann/nut-ci:latest bash
35-
43+ - " bash ./build/setup_${TRAVIS_OS_NAME}.sh"
3644install : true
3745
3846script :
39- - travis_retry docker exec nut-ci bash -c "bash $PWD/.build /build.sh ${PWD} ${NODE_VERSION} "
47+ - " bash . /build/run_${TRAVIS_OS_NAME}.sh "
4048
4149after_success :
4250 - sonar-scanner
You can’t perform that action at this time.
0 commit comments