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 11language : node_js
22sudo : required
33
4+ os :
5+ - windows
6+ - linux
7+
48env :
59 - CXX=g++-4.8 TRAVIS=true
610
@@ -11,20 +15,38 @@ addons:
1115 packages :
1216 - g++-4.8
1317
18+
1419node_js :
1520 - " 6"
1621 - " 8"
1722 - " 12"
1823 - " 13"
1924
2025before_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
2546
2647cache :
2748 directories :
49+ - $HOME/AppData/Local/Temp/chocolatey
2850 - " $TRAVIS_BUILD_DIR/stunnel-5.54"
2951
3052after_success : npm run coveralls
You can’t perform that action at this time.
0 commit comments