Skip to content

Commit 2b1c947

Browse files
committed
add 1st .travis.yml file for Linux/GCC-7
1 parent 6bf0b1f commit 2b1c947

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
# exclude all dot files except .git files
1+
# exclude all dot files except .git and travis files
22
.*
33
!.git*
4+
!.travis.yml
45

56
# exclude binaries and temporary files
67
bin/

.travis.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
language: cpp
2+
sudo: required
3+
dist: trusty
4+
compiler:
5+
- gcc
6+
os:
7+
- linux
8+
script:
9+
- if [ $TRAVIS_OS_NAME == linux ]; then mkdir bin && cd bin && cmake .. && make fi
10+
addons:
11+
apt:
12+
sources:
13+
- ubuntu-toolchain-r-test
14+
packages:
15+
- g++-7
16+
- cmake
17+
branches:
18+
only:
19+
- xd_dev
20+
- "/^v\\d+\\./"
21+
notifications:
22+
email: false
23+
env:
24+
global:
25+
- LANG="en_US.UTF-8"

0 commit comments

Comments
 (0)