Skip to content

Commit

Permalink
add 1st .travis.yml file for Linux/GCC-7
Browse files Browse the repository at this point in the history
  • Loading branch information
q4a committed May 16, 2018
1 parent 6bf0b1f commit 2b1c947
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# exclude all dot files except .git files
# exclude all dot files except .git and travis files
.*
!.git*
!.travis.yml

# exclude binaries and temporary files
bin/
Expand Down
25 changes: 25 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
language: cpp
sudo: required
dist: trusty
compiler:
- gcc
os:
- linux
script:
- if [ $TRAVIS_OS_NAME == linux ]; then mkdir bin && cd bin && cmake .. && make fi
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
- cmake
branches:
only:
- xd_dev
- "/^v\\d+\\./"
notifications:
email: false
env:
global:
- LANG="en_US.UTF-8"

0 comments on commit 2b1c947

Please sign in to comment.