.travis.yml 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. env:
  2. global:
  3. - CONAN_USERNAME: "francescalted"
  4. - CONAN_LOGIN_USERNAME: "francescalted"
  5. - CONAN_CHANNEL: "stable"
  6. - CONAN_UPLOAD: "https://api.bintray.com/conan/blosc/Conan"
  7. - CONAN_TOTAL_PAGES: 2
  8. linux: &linux
  9. os: linux
  10. sudo: required
  11. language: python
  12. python: "3.6"
  13. services:
  14. - docker
  15. osx: &osx
  16. os: osx
  17. language: generic
  18. matrix:
  19. include:
  20. - <<: *osx
  21. osx_image: xcode8.3
  22. env: CONAN_APPLE_CLANG_VERSIONS=8.1 CONAN_CURRENT_PAGE=1 CONAN_RUN_TESTS=1
  23. - <<: *osx
  24. osx_image: xcode8.3
  25. env: CONAN_APPLE_CLANG_VERSIONS=8.1 CONAN_CURRENT_PAGE=2
  26. - <<: *osx
  27. osx_image: xcode9
  28. env: CONAN_APPLE_CLANG_VERSIONS=9.0 CONAN_CURRENT_PAGE=1 CONAN_RUN_TESTS=1
  29. - <<: *osx
  30. osx_image: xcode9
  31. env: CONAN_APPLE_CLANG_VERSIONS=9.0 CONAN_CURRENT_PAGE=2
  32. - <<: *linux
  33. env: CONAN_GCC_VERSIONS=4.9 CONAN_DOCKER_IMAGE=lasote/conangcc49 CONAN_CURRENT_PAGE=1 CONAN_RUN_TESTS=1
  34. - <<: *linux
  35. env: CONAN_GCC_VERSIONS=4.9 CONAN_DOCKER_IMAGE=lasote/conangcc49 CONAN_CURRENT_PAGE=2
  36. - <<: *linux
  37. env: CONAN_GCC_VERSIONS=5 CONAN_DOCKER_IMAGE=lasote/conangcc5 CONAN_CURRENT_PAGE=1 CONAN_RUN_TESTS=1
  38. - <<: *linux
  39. env: CONAN_GCC_VERSIONS=5 CONAN_DOCKER_IMAGE=lasote/conangcc5 CONAN_CURRENT_PAGE=2
  40. - <<: *linux
  41. env: CONAN_GCC_VERSIONS=6 CONAN_DOCKER_IMAGE=lasote/conangcc6 CONAN_CURRENT_PAGE=1 CONAN_RUN_TESTS=1
  42. - <<: *linux
  43. env: CONAN_GCC_VERSIONS=6 CONAN_DOCKER_IMAGE=lasote/conangcc6 CONAN_CURRENT_PAGE=2
  44. - <<: *linux
  45. env: CONAN_GCC_VERSIONS=7 CONAN_DOCKER_IMAGE=lasote/conangcc7 CONAN_CURRENT_PAGE=1 CONAN_RUN_TESTS=1
  46. - <<: *linux
  47. env: CONAN_GCC_VERSIONS=7 CONAN_DOCKER_IMAGE=lasote/conangcc7 CONAN_CURRENT_PAGE=2
  48. - <<: *linux
  49. env: CONAN_CLANG_VERSIONS=3.9 CONAN_DOCKER_IMAGE=lasote/conanclang39 CONAN_CURRENT_PAGE=1 CONAN_RUN_TESTS=1
  50. - <<: *linux
  51. env: CONAN_CLANG_VERSIONS=3.9 CONAN_DOCKER_IMAGE=lasote/conanclang39 CONAN_CURRENT_PAGE=2
  52. - <<: *linux
  53. env: CONAN_CLANG_VERSIONS=4.0 CONAN_DOCKER_IMAGE=lasote/conanclang40 CONAN_CURRENT_PAGE=1 CONAN_RUN_TESTS=1
  54. - <<: *linux
  55. env: CONAN_CLANG_VERSIONS=4.0 CONAN_DOCKER_IMAGE=lasote/conanclang40 CONAN_CURRENT_PAGE=2
  56. before_script:
  57. - if [ "$TRAVIS_OS_NAME" == "osx" ]; then
  58. brew update;
  59. brew upgrade python@3;
  60. python3 --version;
  61. pip3 install --upgrade pip;
  62. fi
  63. - pip3 install conan_package_tools
  64. script:
  65. - python3 build.py