forked from msoos/cryptominisat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
38 lines (38 loc) · 984 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
27
28
29
30
31
32
33
34
35
36
37
38
language: cpp
compiler:
- gcc
- clang
env:
# These are used by .travis-cmake.sh to set a configuration
- CMS_CONFIG=NORMAL
# - CMS_CONFIG=STATIC_BIN
- CMS_CONFIG=ONLY_SIMPLE
# - CMS_CONFIG=ONLY_SIMPLE_STATIC
- CMS_CONFIG=MORE_DEBUG
- CMS_CONFIG=STATS
- CMS_CONFIG=NOZLIB
- CMS_CONFIG=RELEASE
- CMS_CONFIG=NOSQLITE
- CMS_CONFIG=NOMYSQL
- CMS_CONFIG=NOMYSQLNOSQLITE
- CMS_CONFIG=NOPYTHON
before_install:
- sudo add-apt-repository -y ppa:ubuntu-sdk-team/ppa
- sudo add-apt-repository -y ppa:george-edison55/gcc4.7-precise
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update
install:
- sudo apt-get install libboost-test-dev gcc-4.7 g++-4.7
- sudo apt-get remove g++-4.6 gcc-4.6
- sudo apt-get install cmake
- sudo pip install lit
#
# Initialise our submodules
- git submodule init
- git submodule update
- mkdir build && cd build
script:
- ../.travis-cmake.sh ../
- make
- ctest -V
- sudo make install