Skip to content

Commit ecda063

Browse files
committed
Accidentally hardcore failed and put the luasec installation before libssl
1 parent a7f2b82 commit ecda063

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ before_install:
1414
fi
1515
- sudo apt-get install $LUA
1616
- sudo apt-get install $LUA_DEV
17+
- sudo apt-get install -y libssl-dev
1718
- lua$LUA_SFX -v
1819
# Install a recent luarocks release
1920
- wget https://github.com/keplerproject/luarocks/archive/v$LUAROCKS_VERSION.tar.gz -O $LUAROCKS_BASE.tar.gz
@@ -32,9 +33,7 @@ install:
3233
- sudo luarocks install luacov-coveralls
3334
- sudo luarocks install lua_cliargs 2.3-3
3435
- sudo luarocks install busted 1.10.0-1
35-
- sudo luarocks install luasec OPENSSL_LIBDIR=/usr/lib/`gcc -print-multiarch` OPENSSL_DIR=/usr/lib/`gcc -print-multiarch`
36-
- sudo apt-get install libssl-dev
37-
36+
- sudo luarocks install luasec OPENSSL_DIR=/usr/lib/`gcc -print-multiarch` OPENSSL_LIBDIR=/usr/lib/`gcc -print-multiarch`
3837

3938
script: "sudo luarocks make rockspecs/lua-websockets-scm-1.rockspec && ./test.sh"
4039

0 commit comments

Comments
 (0)