forked from wojdyr/fityk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
24 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
language: cpp
compiler:
- gcc
# - clang
before_install:
- curl http://download.opensuse.org/repositories/home:/wojdyr/xUbuntu_12.04/Release.key | sudo apt-key add -
- echo 'deb http://download.opensuse.org/repositories/home:/wojdyr/xUbuntu_12.04/ /' | sudo tee -a /etc/apt/sources.list.d/obs.list
- sudo add-apt-repository ppa:teward/swig3.0 -y
- sudo apt-get update -qq
- sudo apt-get install -y libboost-dev liblua5.1-0-dev lua5.1
- sudo apt-get install -y --force-yes swig3.0
- sudo apt-get install -y --force-yes libxy-dev wxgtk-for-fityk-devel
before_script:
- curl -o tests/catch.hpp https://raw.githubusercontent.com/philsquared/Catch/master/single_include/catch.hpp
- autoreconf -i
script: ./configure LUA=/usr/bin/lua5.1 LUA_INCLUDE=-I/usr/include/lua5.1 LUA_LIB=-llua5.1 SWIG=swig3.0 && make -j2 check
branches:
only:
- master
notifications:
email: