diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 27 |
1 files changed, 21 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml index 5ee0b740..18c8504f 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -1,5 +1,19 @@ | |||
1 | language: python | 1 | language: python |
2 | 2 | ||
3 | cache: | ||
4 | directories: | ||
5 | - lua_install | ||
6 | - test/testing_cache-5.1 | ||
7 | - test/testing_cache-5.2 | ||
8 | - test/testing_cache-5.3 | ||
9 | - test/testing_cache-2.0 | ||
10 | - test/testing_cache-2.1 | ||
11 | - test/testing_server-5.1 | ||
12 | - test/testing_server-5.2 | ||
13 | - test/testing_server-5.3 | ||
14 | - test/testing_server-2.0 | ||
15 | - test/testing_server-2.1 | ||
16 | |||
3 | matrix: | 17 | matrix: |
4 | include: | 18 | include: |
5 | - os: linux | 19 | - os: linux |
@@ -40,17 +54,18 @@ matrix: | |||
40 | 54 | ||
41 | 55 | ||
42 | before_install: | 56 | before_install: |
43 | - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update;fi | 57 | - if [ ! -f lua_install/bin/luarocks ]; then pip install hererocks; fi |
44 | - pip install hererocks | 58 | - if [ ! -f lua_install/bin/luarocks ]; then hererocks lua_install -r^ --$LUA; fi |
45 | - hererocks lua_install -r^ --$LUA | ||
46 | - export PATH=$PATH:$PWD/lua_install/bin # Add directory with all installed binaries to PATH | 59 | - export PATH=$PATH:$PWD/lua_install/bin # Add directory with all installed binaries to PATH |
47 | 60 | ||
48 | install: | 61 | install: |
49 | - luarocks install busted | 62 | - if [ ! -f lua_install/bin/busted ]; then luarocks install busted; fi |
50 | - luarocks install luacov | 63 | - if [ ! -f lua_install/bin/luacov ]; then luarocks install luacov; luarocks install luacov-coveralls; fi |
51 | - luarocks install luacov-coveralls | ||
52 | 64 | ||
53 | script: | 65 | script: |
66 | - lua -v | ||
67 | - ./configure --with-lua=lua_install | ||
68 | - ./makedist scm | ||
54 | - busted -o gtest --verbose -Xhelper travis | 69 | - busted -o gtest --verbose -Xhelper travis |
55 | - busted -o gtest --verbose -Xhelper travis,env=full | 70 | - busted -o gtest --verbose -Xhelper travis,env=full |
56 | 71 | ||