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
Copy file name to clipboardExpand all lines: .travis.yml
+11-15
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,12 @@
28
28
# Specify the programming language:
29
29
language: node_js
30
30
31
+
# Specify the host operating system:
32
+
os: linux
33
+
34
+
# Specify the Linux distribution:
35
+
dist: xenial
36
+
31
37
# Specify the list of Node.js versions on which we want to build:
32
38
node_js:
33
39
# Node.js
@@ -53,10 +59,6 @@ node_js:
53
59
# - '0.12'
54
60
# - '0.10'
55
61
56
-
# Specify the host operating system:
57
-
os:
58
-
- linux
59
-
60
62
# Specify which branches should trigger builds:
61
63
branches:
62
64
only:
@@ -67,7 +69,7 @@ git:
67
69
# Set the clone depth, making sure to account for queued builds:
68
70
depth: 100
69
71
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.
72
+
# 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. Electron requires a virtual display server (xvfb) on Linux.
71
73
addons:
72
74
apt:
73
75
sources:
@@ -108,16 +110,10 @@ jobs:
108
110
# Define steps to be performed before running installation steps:
109
111
before_install:
110
112
# Perform platform-specific initialization:
111
-
- if [[ $TRAVIS_OS_NAME = "linux" ]]; then
112
-
mkdir -p $HOME/bin;
113
-
ln -s /usr/bin/gcc-9 $HOME/bin/gcc;
114
-
ln -s /usr/bin/g++-9 $HOME/bin/g++;
115
-
ln -s /usr/bin/gfortran-9 $HOME/bin/gfortran;
116
-
else
117
-
brew cask uninstall oclint;
118
-
brew update;
119
-
brew install -v gcc;
120
-
fi
113
+
- mkdir -p $HOME/bin;
114
+
ln -s /usr/bin/gcc-9 $HOME/bin/gcc;
115
+
ln -s /usr/bin/g++-9 $HOME/bin/g++;
116
+
ln -s /usr/bin/gfortran-9 $HOME/bin/gfortran;
121
117
122
118
# Configure the virtual display server (needed for electron):
0 commit comments