forked from ashtuchkin/vive-diy-position-sensor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
32 lines (28 loc) · 722 Bytes
/
Copy path.travis.yml
File metadata and controls
32 lines (28 loc) · 722 Bytes
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
# Based on http://stackoverflow.com/a/41916657, https://github.com/Microsoft/GSL/blob/master/.travis.yml
branches:
only:
- master
dist: trusty
sudo: required
language: cpp
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-6
- g++-6
- gcc-6-multilib
- g++-6-multilib
- gcc-multilib
- cmake
install:
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-6 50
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 50
- gcc --version && g++ --version && cmake --version
before_script:
- mkdir build && cd build
- cmake -DPLATFORM=Host_Test .. && cmake --build .
script:
- ctest --output-on-failure