-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy path.travis.yml
39 lines (27 loc) · 1.01 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
dist: trusty
sudo: require
notifications:
email: false
# allow_failures:
# - os: osx # pyngl fails on mac at present will fix but this is fine for now
before_install:
- sudo apt-add-repository --yes ppa:beineri/opt-qt551-trusty
- sudo apt-get update -qq
# C++14
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
install:
- sudo apt-get --yes install qt55base git xorg-dev
# C++14
- sudo apt-get install -qq g++-6
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-6 90
- git clone https://github.com/microsoft/vcpkg && cd vcpkg && ./bootstrap-vcpkg.sh && ./vcpkg install glfw3 openimageio gtest freetype glm rapidjson rapidxml
language : cpp
compiler:
- gcc
- clang
script :
- cd /home/travis/build/NCCA/NGL
- mkdir build && cd build &&
- cmake -DQt5OpenGL_DIR="/opt/qt55/lib/cmake/Qt5OpenGL" -DCMAKE_TOOLCHAIN_FILE=/home/travis/build/NCCA/vcpkg/scripts/buildsystems/vcpkg.cmake .. && make -j2
- ./NGLTests -g