.travis.yml 827 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
addons:
  apt:
    packages:
    - libqt4-dev
    - libqtcore4
    - libqtgui4
14
    - libboost-all-dev
Rashad Kanavath's avatar
Rashad Kanavath committed
15

16
before_script:
17 18
  - export MAKE_CMD=/tmp/ninja
  - export CMAKE_GEN='Ninja'
Rashad Kanavath's avatar
Rashad Kanavath committed
19
  - cd /tmp
20 21
  - 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
22 23
  - wget https://github.com/martine/ninja/releases/download/v1.6.0/ninja-linux.zip --no-check-certificate
  - unzip ninja-linux.zip
Manuel Grizonnet's avatar
Manuel Grizonnet committed
24
  - wget https://www.orfeo-toolbox.org/packages/xdk/OTB-5.2/OTB-5.2.0-xdk-Linux64.run --no-check-certificate
25 26
  - chmod +x /tmp/OTB-5.2.0-xdk-Linux64.run
  - /tmp/OTB-5.2.0-xdk-Linux64.run
27

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