Skip to content

Commit e399f6d

Browse files
committed
Travis support
1 parent 5a2339a commit e399f6d

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.travis.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
language: cpp
2+
compiler: gcc
3+
dist: trusty
4+
5+
before_install:
6+
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
7+
- sudo apt-get update -qq
8+
9+
install:
10+
- sudo apt-get install -qq g++-7
11+
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 80
12+
13+
script:
14+
- cmake -DRUN_TESTS=ON .
15+
- cmake --build . -- -j2

0 commit comments

Comments
 (0)