-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
29 lines (24 loc) · 923 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
language: cpp
matrix:
include:
- compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.9
env: COMPILER=g++-4.9
before_install:
- git submodule update --init --recursive
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update
- sudo apt-get install python-yaml libyaml-dev build-essential libssh2-1-dev libarchive-dev
- sudo apt-get install libgsl0-dev libsqlite3-dev
script:
- git clone https://github.com/walaj/apophenia-clone && cd apophenia-clone && ./configure --prefix=`pwd` && make LIBS="-lgsl -lgslcblas" && make install && cd ..
- ./configure --with-apophenia=`pwd`/apophenia-clone && make CXX=$COMPILER && make install
after_failure: "cat /home/travis/builds/walaj/ginseng/apophenia-pkg/Makefile && /home/travis/builds/walaj/ginseng/apophenia-pkg/config.h"
branches:
only:
- master