forked from tjjh89017/ezio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (39 loc) · 1.24 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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
language: cpp
dist: trusty
sudo: false
notifications:
email: false
compiler:
- g++
addons:
apt:
sources:
- boost-latest
- ubuntu-toolchain-r-test
packages:
- build-essential
- libboost1.55-all-dev
- libboost1.55-tools-dev
- libssl-dev
- g++-5
- gcc-5
before_install:
- openssl aes-256-cbc -K $encrypted_9a56aef8f4d0_key -iv $encrypted_9a56aef8f4d0_iv -in tests/ezio.pem.enc -out tests/ezio.pem -d
- openssl aes-256-cbc -K $encrypted_f32060d02f25_key -iv $encrypted_f32060d02f25_iv -in tests/ezio-openrc.sh.enc -out tests/ezio-openrc.sh -d
- chmod 600 tests/ezio.pem
- eval $(ssh-agent)
- ssh-add tests/ezio.pem
- bash tests/scripts/before_install.sh
- export LIBTORRENT=$PWD/libtorrent-rasterbar/build/
- export LIBRARY_PATH=$LIBTORRENT/lib/:$LIBRARY_PATH
- export CPLUS_INCLUDE_PATH=$LIBTORRENT/include/:$CPLUS_INCLUDE_PATH
install:
- sed -i 's/g++/g++-5/g' Makefile
- bash tests/scripts/install.sh
before_script:
- bash tests/scripts/before_script.sh
script:
- bash tests/scripts/script.sh
after_success:
- bash tests/scripts/before_deploy.sh
- bash tests/scripts/deploy.sh