.travis.yml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. language: cpp
  2. env:
  3. - LUA_VERSION=5.3.2 COMPILER=g++-4.8
  4. - LUA_VERSION=5.2.4 COMPILER=g++-4.8
  5. - LUA_VERSION=5.1.5 COMPILER=g++-4.8
  6. - LUA_VERSION=5.3.2 COMPILER=g++-4.9
  7. - LUA_VERSION=5.2.4 COMPILER=g++-4.9
  8. - LUA_VERSION=5.1.5 COMPILER=g++-4.9
  9. - LUA_VERSION=5.3.2 COMPILER=g++-5
  10. - LUA_VERSION=5.2.4 COMPILER=g++-5
  11. - LUA_VERSION=5.1.5 COMPILER=g++-5
  12. - LUA_VERSION=5.3.2 COMPILER=g++-6
  13. - LUA_VERSION=5.2.4 COMPILER=g++-6
  14. - LUA_VERSION=5.1.5 COMPILER=g++-6
  15. - LUA_VERSION=5.3.2 COMPILER=clang++-3.7
  16. - LUA_VERSION=5.2.4 COMPILER=clang++-3.7
  17. - LUA_VERSION=5.1.5 COMPILER=clang++-3.7
  18. cache:
  19. directories:
  20. - lua-$LUA_VERSION
  21. before_install:
  22. - export CXX=$COMPILER
  23. install:
  24. # Build Lua
  25. - test -e "lua-$LUA_VERSION/src" || (wget "http://www.lua.org/ftp/lua-$LUA_VERSION.tar.gz" && tar xvfz "lua-$LUA_VERSION.tar.gz")
  26. - pushd "lua-$LUA_VERSION/src"
  27. - test -e liblua-custom.a || make LUA_A=liblua-custom.a linux
  28. - export "LUA_SOURCE_PATH=$(pwd)"
  29. - popd
  30. script:
  31. - make "LUA_LIBDIR=$LUA_SOURCE_PATH" "LUA_INCDIR=$LUA_SOURCE_PATH" LUA_LIBNAME=lua-custom all
  32. addons:
  33. apt:
  34. sources:
  35. - llvm-toolchain-precise-3.7
  36. - ubuntu-toolchain-r-test
  37. packages:
  38. - make
  39. - wget
  40. - clang-3.7
  41. - g++-4.8
  42. - g++-4.9
  43. - g++-5
  44. - g++-6