diff options
author | Oleg Morozenkov <m@oleg.rocks> | 2019-12-05 01:06:02 +0300 |
---|---|---|
committer | Oleg Morozenkov <m@oleg.rocks> | 2019-12-05 01:06:02 +0300 |
commit | 2b5baa24597778d8e9f5d93c30a6f6440ef90971 (patch) | |
tree | 589202ffbaecb0ff2176575688e30cf18b317a61 /.travis.yml | |
parent | e1031f20f9139a554c3e4cf70585ae0dcea1bcda (diff) | |
parent | 76f36598570a13862471175cbfdbfb9dec4139d2 (diff) |
Merge branch 'master' into nitanmarcel/api_update_pr
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 88 |
1 files changed, 7 insertions, 81 deletions
diff --git a/.travis.yml b/.travis.yml index f4e6c94..37629fb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,84 +1,10 @@ -linux: &linux - os: linux - dist: xenial - language: python - python: "3.7" - services: - - docker -osx: &osx - os: osx - language: generic +sudo: required -stages: - - unittest - - conan-linux - - conan-osx - -jobs: - include: - - <<: *linux - stage: unittest - name: unittest - sudo: required - script: - - docker build -t reo7sp/tgbot-cpp -f Dockerfile . - - docker build -t reo7sp/tgbot-cpp-test -f Dockerfile_test . - - docker run --rm reo7sp/tgbot-cpp-test - - - <<: *linux - stage: conan-linux - env: CONAN_GCC_VERSIONS=4.9 CONAN_DOCKER_IMAGE=conanio/gcc49 - - <<: *linux - stage: conan-linux - env: CONAN_GCC_VERSIONS=5 CONAN_DOCKER_IMAGE=conanio/gcc5 - - <<: *linux - stage: conan-linux - env: CONAN_GCC_VERSIONS=6 CONAN_DOCKER_IMAGE=conanio/gcc6 - - <<: *linux - stage: conan-linux - env: CONAN_GCC_VERSIONS=7 CONAN_DOCKER_IMAGE=conanio/gcc7 - - <<: *linux - stage: conan-linux - env: CONAN_GCC_VERSIONS=8 CONAN_DOCKER_IMAGE=conanio/gcc8 - - - <<: *linux - stage: conan-linux - env: CONAN_CLANG_VERSIONS=4.0 CONAN_DOCKER_IMAGE=conanio/clang40 - - <<: *linux - stage: conan-linux - env: CONAN_CLANG_VERSIONS=5.0 CONAN_DOCKER_IMAGE=conanio/clang50 - - <<: *linux - stage: conan-linux - env: CONAN_CLANG_VERSIONS=6.0 CONAN_DOCKER_IMAGE=conanio/clang60 - - <<: *linux - stage: conan-linux - env: CONAN_CLANG_VERSIONS=7.0 CONAN_DOCKER_IMAGE=conanio/clang7 CONAN_BUILD_POLICY=missing - - - <<: *osx - stage: conan-osx - osx_image: xcode7.3 - env: CONAN_APPLE_CLANG_VERSIONS=7.3 CONAN_BUILD_POLICY=missing - - <<: *osx - stage: conan-osx - osx_image: xcode8.3 - env: CONAN_APPLE_CLANG_VERSIONS=8.1 CONAN_BUILD_POLICY=missing - - <<: *osx - stage: conan-osx - osx_image: xcode9 - env: CONAN_APPLE_CLANG_VERSIONS=9.0 - - <<: *osx - stage: conan-osx - osx_image: xcode9.4 - env: CONAN_APPLE_CLANG_VERSIONS=9.1 - - <<: *osx - stage: conan-osx - osx_image: xcode10 - env: CONAN_APPLE_CLANG_VERSIONS=10.0 - -install: - - chmod +x .travis/install.sh - - ./.travis/install.sh +services: + - docker script: - - chmod +x .travis/run.sh - - ./.travis/run.sh + - docker build -t reo7sp/tgbot-cpp -f Dockerfile . + - docker build -t reo7sp/tgbot-cpp-test -f Dockerfile_test . + - docker run --rm reo7sp/tgbot-cpp-test + |