File tree Expand file tree Collapse file tree 1 file changed +26
-4
lines changed Expand file tree Collapse file tree 1 file changed +26
-4
lines changed Original file line number Diff line number Diff line change 1
1
language : node_js
2
2
sudo : required
3
3
4
+ os :
5
+ - windows
6
+ - linux
7
+
4
8
env :
5
9
- CXX=g++-4.8 TRAVIS=true
6
10
@@ -11,20 +15,38 @@ addons:
11
15
packages :
12
16
- g++-4.8
13
17
18
+
14
19
node_js :
15
20
- " 6"
16
21
- " 8"
17
22
- " 12"
18
23
- " 13"
19
24
20
25
before_install :
21
- - if [[ ! -f stunnel.tar.gz ]]; then wget -O stunnel.tar.gz ftp://ftp.stunnel.org/stunnel/archive/5.x/stunnel-5.54.tar.gz; fi
22
- - if [[ ! -f ./stunnel-5.54/configure ]]; then tar -xzf stunnel.tar.gz; fi
23
- - if [[ ! -f ./stunnel-5.54/src/stunnel ]]; then cd ./stunnel-5.54; ./configure; make; cd ..; fi
24
- - export PATH="$PATH:$(pwd)/stunnel-5.54/src"
26
+ - |-
27
+ case $TRAVIS_OS_NAME in
28
+ linux)
29
+ if [[ ! -f stunnel.tar.gz ]]; then wget -O stunnel.tar.gz ftp://ftp.stunnel.org/stunnel/archive/5.x/stunnel-5.54.tar.gz; fi
30
+ if [[ ! -f ./stunnel-5.54/configure ]]; then tar -xzf stunnel.tar.gz; fi
31
+ if [[ ! -f ./stunnel-5.54/src/stunnel ]]; then cd ./stunnel-5.54; ./configure; make; cd ..; fi
32
+ export PATH="$PATH:$(pwd)/stunnel-5.54/src"
33
+ ;;
34
+ esac
35
+ - |-
36
+ case $TRAVIS_OS_NAME in
37
+ windows)
38
+ choco install redis-64
39
+ C:\ProgramData\chocolatey\lib\redis-64\tools\redis-server.exe --service-install
40
+ C:\ProgramData\chocolatey\lib\redis-64\tools\redis-server.exe --service-start
41
+ '@ECHO Redis Started'
42
+ node --version
43
+ npm --version
44
+ ;;
45
+ esac
25
46
26
47
cache :
27
48
directories :
49
+ - $HOME/AppData/Local/Temp/chocolatey
28
50
- " $TRAVIS_BUILD_DIR/stunnel-5.54"
29
51
30
52
after_success : npm run coveralls
You can’t perform that action at this time.
0 commit comments