File tree Expand file tree Collapse file tree 1 file changed +15
-18
lines changed Expand file tree Collapse file tree 1 file changed +15
-18
lines changed Original file line number Diff line number Diff line change 1
1
sudo : true
2
2
3
- env :
4
- matrix :
5
- - export NODE_VERSION="6" CC=clang CXX=clang++ npm_config_clang=1
6
- - export NODE_VERSION="8" CC=clang CXX=clang++ npm_config_clang=1
7
- - export NODE_VERSION="10" CC=clang CXX=clang++ npm_config_clang=1
3
+ os :
4
+ - linux
5
+ - osx
6
+
7
+ language : node_js
8
+
9
+ node_js :
10
+ - 6
11
+ - 8
12
+ - 10
8
13
9
- branches :
10
- only :
11
- - master
14
+ env :
15
+ global :
16
+ - CC=clang
17
+ - CXX=clang++
18
+ - npm_config_clang=1
12
19
13
20
git :
14
21
depth : 10
@@ -17,19 +24,9 @@ compiler: clang
17
24
18
25
before_install :
19
26
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p; fi
20
- - git clone https://github.com/creationix/nvm.git ./.nvm
21
- - source ./.nvm/nvm.sh
22
- - nvm install $NODE_VERSION
23
- - nvm use $NODE_VERSION
24
27
25
28
install :
26
29
- npm install
27
30
28
31
script :
29
32
- npm test
30
-
31
- os :
32
- - linux
33
- - osx
34
-
35
- sudo : false
You can’t perform that action at this time.
0 commit comments