forked from samp-incognito/samp-streamer-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (38 loc) · 1.67 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
env:
matrix:
- BUILD_TYPE=Release
- BUILD_TYPE=Debug
addons:
apt:
packages:
- g++-multilib
git:
submodules: false
before_install:
- git submodule update --init --recursive . ":(exclude)lib/boost"
- wget http://sourceforge.net/projects/boost/files/boost/1.65.1/boost_1_65_1.tar.gz
- tar xzf boost_1_65_1.tar.gz
install:
- cd boost_1_65_1
- ./bootstrap.sh
- ./b2 --with-system address-model=32
- cd ..
before_script:
- mkdir build && cd build
- export TRAVIS_COMMIT_SHORT="$(git rev-parse --short ${TRAVIS_COMMIT})"
- cmake .. -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DCPACK_OUTPUT_FILE_POSTFIX=${BUILD_TYPE} -DBOOST_ROOT=boost_1_65_1 -DEIGEN3_INCLUDE_DIR=lib/eigen -DCOMMIT_ID=${TRAVIS_COMMIT_SHORT}
script:
- make streamer_unity
- make package
- cd ..
before_deploy:
- envsubst < bintray.json > bintray-temp.json
- cat bintray-temp.json > bintray.json
deploy:
provider: bintray
file: bintray.json
user: incognito
key:
secure: F3+irfWdK1iw0pNmEgWhXsIcfYhfIKxKfVmHmP0lhC/tHYtr4bAF4GmPg1Wld96m/rW/pm89kcUfHIfn1bi5mp6YSfl1076a5f9wgsOURMFvMaH2R/psHW4BAHmrchCCLvxMHuvzXVZFxzg1wtgdhMUTWIyC+rfcK7C0TW+CLDpe0atoGpNSrYRVnaFjrwxDt0Xg7hx5pWYNogGEr0CGy/P3/5D7dJMJmlBlJOVR7VZRSRcpUwMSZkL04h056BK6uFLo8wjEh2q1wfqiL6Fvu0a7dA2Aec8JVbUT86OftFfacumTdPQSmwCAT+BZljU4+0vyK2K8UAoxovSSKzU6yucCK/6tZiDXMdK62eCAJ4c80hOk6IlB8eITNDHzt5nJLP+jbW20Z7DUNg4/Fr7dsDCltUt8VOhUq/ZF+poieWfK15GkN6kOCqOnGFTbZzwQ2QASLP299KfY5uWILcpXyWmt7VISP6Kk1Z6WcXgB4LbsGKSJiPU23dke6jCJfIxql7LME9k1jnhZYCyqWOXhHCfBT1gw/AcooictYY7SHHiD3K5ANUkB4iwJQtWncvwR8ZdYY+2xPhyfi8/x5d/eA7noMdHQnSSG6BUYmx6LsrmD/6/n/HykxHvh2NBeHyGzGpyMNcYfh5Ft0ldiURs59PfBLNySBsartQuEuLLYyuA=
skip_cleanup: true