Skip to content

Commit 0adcb73

Browse files
committed
tests(travis): cache stunnel install
1 parent 694154b commit 0adcb73

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.travis.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,15 @@ node_js:
1616
- "13"
1717

1818
before_install:
19-
- if [[ ! -f downloads/stunnel-5.54.tar.gz ]]; then wget -O downloads/stunnel-5.54.tar.gz ftp://ftp.stunnel.org/stunnel/archive/5.x/stunnel-5.54.tar.gz; fi
20-
- if [[ ! -f ./stunnel-5.54/configure ]]; then tar -xzf downloads/stunnel-5.54.tar.gz; fi
19+
- 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
20+
- if [[ ! -f ./stunnel-5.54/configure ]]; then tar -xzf stunnel.tar.gz; fi
2121
- if [[ ! -f ./stunnel-5.54/src/stunnel ]]; then cd ./stunnel-5.54; ./configure; make; cd ..; fi
2222
- export PATH="$PATH:$(pwd)/stunnel-5.54/src"
2323

24+
cache:
25+
directories:
26+
- '$TRAVIS_BUILD_DIR/stunnel-5.54'
27+
2428
after_success: npm run coveralls
2529
before_script:
2630
# Add an IPv6 config - see the corresponding Travis issue

0 commit comments

Comments
 (0)