.travis.yml 781 Bytes
Newer Older
1 2
language: cpp

Rashad Kanavath's avatar
Rashad Kanavath committed
3
sudo: false
4

5 6 7
compiler:
- clang

Rashad Kanavath's avatar
Rashad Kanavath committed
8 9 10 11 12 13 14
addons:
  apt:
    packages:
    - libqt4-dev
    - libqtcore4
    - libqtgui4

15
before_script:
16 17
  - export MAKE_CMD=/tmp/ninja
  - export CMAKE_GEN='Ninja'
Rashad Kanavath's avatar
Rashad Kanavath committed
18
  - cd /tmp
19 20
  - wget https://cmake.org/files/v3.4/cmake-3.4.1-Linux-x86_64.tar.gz --no-check-certificate
  - tar -xzf cmake-3.4.1-Linux-x86_64.tar.gz
Rashad Kanavath's avatar
Rashad Kanavath committed
21 22
  - wget https://github.com/martine/ninja/releases/download/v1.6.0/ninja-linux.zip --no-check-certificate
  - unzip ninja-linux.zip
23 24 25
  - wget https://www.orfeo-toolbox.org/packages/OTB-5.2.1-Linux64.run  --no-check-certificate
  - chmod +x /tmp/OTB-5.2.1-Linux64.run
  - /tmp/OTB-5.2.1-Linux64.run
26

27
script: /tmp/cmake-3.4.1-Linux-x86_64/bin/ctest -VV -S /home/travis/build/orfeotoolbox/OTB/Utilities/Maintenance/TravisBuild.cmake