-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
26 lines (22 loc) · 913 Bytes
/
.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
language: cpp
install:
# install dependencies
- 'sudo apt-add-repository -y "deb http://ubuntu.mirror.cambrium.nl/ubuntu/ quantal main"'
- 'sudo apt-add-repository -y ppa:tuleu/precise-backports'
- 'sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test'
- 'sudo apt-get update'
- 'sudo apt-get install gcc-4.8 g++-4.8 build-essential lemon ragel libgoogle-glog-dev libgoogle-glog0 libgflags2 libgflags-dev'
- 'sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 50'
- 'sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 50'
before_script:
# check submodules are available
- "git submodule update --init"
- "gcc --version"
- "g++ --version"
script:
# configure w/ cmake, make
- "cmake . -DCMAKE_CXX_COMPILER=g++-4.8 -DCMAKE_CC_COMPILER=gcc-4.8"
- "make"
notifications:
irc: "irc.freenode.net#0x10c-galaxy"
email: "[email protected]"