You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Is `sudo` required? If not, jobs are run on container-based infrastructure.
31
-
sudo: true
32
-
31
+
# Specify the list of Node.js versions on which we want to build:
33
32
node_js:
34
33
# Node.js
35
34
- 'node'
36
-
- '13'
37
-
- '12'
38
-
- '11'
39
-
- '10'
40
-
- '9'
41
-
- '8'
42
-
- '7'
43
-
- '6'
44
-
- '5'
45
-
- '4'
46
-
# io.js
47
-
- '3'
48
-
- '2'
49
-
- '1'
50
-
# Node.js
51
-
- '0.12'
52
-
- '0.10'
53
-
54
-
35
+
# - '16'
36
+
# - '15'
37
+
# - '14'
38
+
# - '13'
39
+
# - '12'
40
+
# - '11'
41
+
# - '10'
42
+
# - '9'
43
+
# - '8'
44
+
# - '7'
45
+
# - '6'
46
+
# - '5'
47
+
# - '4'
48
+
# # io.js
49
+
# - '3'
50
+
# - '2'
51
+
# - '1'
52
+
# # Node.js
53
+
# - '0.12'
54
+
# - '0.10'
55
+
56
+
# Specify the host operating system:
55
57
os:
56
58
- linux
57
-
# - osx
59
+
60
+
# Specify which branches should trigger builds:
61
+
branches:
62
+
only:
63
+
- develop
64
+
65
+
# Configure Git:
66
+
git:
67
+
# Set the clone depth, making sure to account for queued builds:
68
+
depth: 100
58
69
59
70
# Compiling native modules for io.js v3.x.x or Node.js >=v4.0.0 requires a C++11 standard-compliant compiler. Specifically, either gcc >=4.8 or clang >=3.5. Add-ons are Linux-specific. Electron requires a virtual display server (xvfb) on Linux.
60
71
addons:
@@ -72,7 +83,7 @@ addons:
72
83
- xvfb
73
84
- unzip
74
85
75
-
86
+
# Specify environment variables:
76
87
env:
77
88
# Environment variables common to all jobs:
78
89
global:
@@ -86,24 +97,15 @@ env:
86
97
- NODE_PATH="$TRAVIS_BUILD_DIR/lib/node_modules"
87
98
88
99
# Environment variables used to construct the build matrix:
89
-
matrix:
100
+
jobs:
90
101
- BUILD_TASK='test-npm-install'
91
-
- BUILD_TASK='test'
92
-
- BUILD_TASK='benchmark'
93
-
- BUILD_TASK='examples'
94
-
- BUILD_TASK='test-coverage'
95
-
96
102
97
-
matrix:
103
+
# Configure the build matrix:
104
+
jobs:
98
105
# Flag to immediately finish a build if any one of the jobs fails:
99
106
fast_finish: true
100
107
101
-
102
-
# Set the clone depth:
103
-
git:
104
-
depth: 100
105
-
106
-
108
+
# Define steps to be performed before running installation steps:
107
109
before_install:
108
110
# Perform platform-specific initialization:
109
111
- if [[ $TRAVIS_OS_NAME = "linux" ]]; then
@@ -139,22 +141,22 @@ before_install:
139
141
- chmod +x ./tools/ci/travis/before_install
140
142
- "./tools/ci/travis/before_install"
141
143
142
-
144
+
# Define installation steps:
143
145
install:
144
146
# Run install tasks via `travis_retry` to address occasional `npm install` failures (see https://docs.travis-ci.com/user/common-build-problems/#travis_retry):
145
147
- "travis_retry make FC=$FC FORTRAN_COMPILER=$FORTRAN_COMPILER install"
146
148
147
-
149
+
# Define the build steps:
148
150
script:
149
151
- chmod +x ./tools/ci/travis/script
150
152
- "./tools/ci/travis/script $BUILD_TASK"
151
153
152
-
154
+
# Define the steps to run after completing the build steps:
0 commit comments