-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
40 lines (33 loc) · 952 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
35
36
37
38
39
40
language: cpp
compiler: gcc
os: linux
dist: trusty
sudo: false
notifications:
email: false
cache:
apt: true
addons:
apt:
sources:
- sourceline: 'deb http://pl.archive.ubuntu.com/ubuntu xenial main universe'
- sourceline: 'deb http://pl.archive.ubuntu.com/ubuntu xenial main'
packages:
- g++
- p7zip-full
artifacts:
paths:
- $(ls *.zip | tr "\n" :)
env:
matrix:
- BUILD_TYPE=Debug
- BUILD_TYPE=Release
before_script:
- mkdir -p $HOME/BWAPI_RELEASES
- wget -N https://s3.amazonaws.com/bwapic/BWAPI-4.1.12-${BUILD_TYPE}-Linux.tar.gz -O $HOME/BWAPI_RELEASES/BWAPI-4.1.12-${BUILD_TYPE}-Linux.tar.gz
- tar xzf $HOME/BWAPI_RELEASES/BWAPI-4.1.12-${BUILD_TYPE}-Linux.tar.gz --directory $HOME/BWAPI_RELEASES
- mkdir -p build
- cd build
- cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DBWAPI_PATH=$HOME/BWAPI_RELEASES/BWAPI-4.1.12-Linux
script:
- cmake --build . -- package --keep-going