.travis.yml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. - LUA_VERSION=5.3.2 COMPILER=clang++-3.8
  19. - LUA_VERSION=5.2.4 COMPILER=clang++-3.8
  20. - LUA_VERSION=5.1.5 COMPILER=clang++-3.8
  21. cache:
  22. directories:
  23. - lua-$LUA_VERSION
  24. before_install:
  25. - export CXX=$COMPILER
  26. install:
  27. # Build Lua
  28. - test -e "lua-$LUA_VERSION/src" || (wget "http://www.lua.org/ftp/lua-$LUA_VERSION.tar.gz" && tar xvfz "lua-$LUA_VERSION.tar.gz")
  29. - pushd "lua-$LUA_VERSION/src"
  30. - test -e liblua-custom.a || make LUA_A=liblua-custom.a linux
  31. - export "LUA_SOURCE_PATH=$(pwd)"
  32. - popd
  33. script:
  34. - make "LUA_LIBDIR=$LUA_SOURCE_PATH" "LUA_INCDIR=$LUA_SOURCE_PATH" LUA_LIBNAME=lua-custom all
  35. addons:
  36. apt:
  37. sources:
  38. - llvm-toolchain-precise-3.7
  39. - llvm-toolchain-precise-3.8
  40. - ubuntu-toolchain-r-test
  41. packages:
  42. - make
  43. - wget
  44. - clang-3.7
  45. - clang-3.8
  46. - g++-4.8
  47. - g++-4.9
  48. - g++-5
  49. - g++-6