env:
   global:
     - CONAN_REFERENCE: "jsonformoderncpp/2.1.1"
     - CONAN_USERNAME: "vthiery"
     - CONAN_CHANNEL: "stable"
     - CONAN_UPLOAD: "https://api.bintray.com/conan/vthiery/conan-packages"

linux: &linux
   os: linux
   sudo: required
   language: python
   python: "3.6"
   services:
     - docker

osx: &osx
   os: osx
   language: generic

matrix:
   include:
      - <<: *linux
        env: CONAN_GCC_VERSIONS=5.4 CONAN_DOCKER_IMAGE=lasote/conangcc54
      - <<: *linux
        env: CONAN_GCC_VERSIONS=6.3 CONAN_DOCKER_IMAGE=lasote/conangcc63
      - <<: *linux
        env: CONAN_CLANG_VERSIONS=4.0 CONAN_DOCKER_IMAGE=lasote/conanclang40

install:
  - ./.travis/install.sh

script:
  - ./.travis/run.sh
env:
   global:
     - CONAN_REFERENCE: "jsonformoderncpp/2.1.1"
     - CONAN_USERNAME: "vthiery"
     - CONAN_CHANNEL: "stable"
     - CONAN_UPLOAD: "https://api.bintray.com/conan/vthiery/conan-packages"

linux: &linux
   os: linux
   sudo: required
   language: python
   python: "3.6"
   services:
     - docker

osx: &osx
   os: osx
   language: generic

matrix:
   include:
      - <<: *linux
        env: CONAN_GCC_VERSIONS=6.3 CONAN_DOCKER_IMAGE=lasote/conangcc63

install:
  - ./.travis/install.sh

script:
  - ./.travis/run.sh
Reduce build matrix as one build is enough
Reduce build matrix as one build is enough
