-
Notifications
You must be signed in to change notification settings - Fork 12
/
.travis.yml
21 lines (19 loc) · 980 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
language: cpp
dist: trusty
compiler: g++
sudo: required
before_install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -q
- sudo apt-get remove gcc g++
- sudo apt-get install g++-7 gcc-7 -y
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60 --slave /usr/bin/g++ g++ /usr/bin/g++-7
- sudo update-alternatives --install /usr/bin/gcc-ar gcc-ar /usr/bin/gcc-ar-7 60
- sudo update-alternatives --install /usr/bin/gcc-ranlib gcc-ranlib /usr/bin/gcc-ranlib-7 60
- sudo update-alternatives --install /usr/bin/x86_64-linux-gnu-gcc x86_64-linux-gnu-gcc /usr/bin/x86_64-linux-gnu-gcc-7 60 --slave /usr/bin/x86_64-linux-gnu-g++ x86_64-linux-gnu-g++ /usr/bin/x86_64-linux-gnu-g++-7
# run the typical ci checks, for now, compile
script:
- make open-wbo_release -j 1
- make clean && make open-wbo_release -j 1 SOLVER=minisat2.2
- git submodule update --init
- make allclean && make open-wbo_release -j 1 SOLVER=riss