forked from niklasso/minisat
-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
23 lines (21 loc) · 1 KB
/
.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
language: cpp
dist: xenial
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
- sudo apt-get install clang-format-6.0
- sudo apt-get install picosat
# run the typical ci checks, for now, compile
script:
- make d r p sh lr ld lp lsh -j $(nproc)
- git checkout -b travis-ci-test-branch
- ./tools/check-style.sh
- RUNIPASIR=0 RUNOPENWBO=0 ./tools/ci.sh