-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
34 lines (29 loc) · 971 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
language: cpp
compiler:
- clang
- gcc
before_install:
- curl -sL https://github.com/open-source-parsers/jsoncpp/archive/master.zip > jsoncpp.zip
- unzip jsoncpp.zip
- rm jsoncpp.zip
- cd jsoncpp-master
- python amalgamate.py
- mv ./dist/jsoncpp.cpp ../Ymir/src/jsoncpp.cpp
- mv ./dist/json ../include/json
- cd ..
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -qq
- sudo apt-get install -qq libyajl-dev libxml2-dev libxqilla-dev
- if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
- sudo apt-get install python3
script:
- mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Debug .. && cmake --build .
- cd ..
- python3 pyymir.py
after_success:
#- /home/travis/build/imminfo/ymir/build/test/Test /home/travis/build/imminfo/ymir/test/data/
- python3 ytest.py
notifications:
slack: imminfo:CJCtbSdFOW1w9xMoY0HxSLgY
email: false