forked from mickelson/attract
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
62 lines (62 loc) · 1.78 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
language: cpp
sudo: false
os:
- linux
- osx
addons:
apt:
packages:
- libopenal-dev
- zlib1g-dev
- libfreetype6-dev
- libjpeg-dev
- libsfml-dev
- libavutil-dev
- libavcodec-dev
- libavformat-dev
- libswscale-dev
- libavresample-dev
- libarchive-dev
- libfontconfig1-dev
- libxinerama-dev
- libxrandr-dev
- freeglut3-dev
- libcurl4-openssl-dev
- pkg-config
- pkgconf
- fakeroot
- dpkg
- dh-make
compiler:
- clang
- gcc
matrix:
include:
- os: linux
dist: xenial
sudo: required
exclude:
- os: osx
compiler: gcc
apt:
packages: libxrandr-dev
before_install:
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update; fi
install:
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install ffmpeg sfml libarchive curl; echo ""; fi
script:
- make -j8
before_deploy:
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then util/osx/create-pkg.sh; fi
deploy:
provider: releases
api_key:
secure: tgkToF0Ic1XxR20wbD0IGThU76lDvnERHpgSQMwiaHsOQQrUUg5cOKN74WJHXkMpIuxUOXViYAMQAqB0ll5ureV2+fQIZGu8CtL0jeDjyEbZeY+b3i8ahriuz5dtmBDCqnH3srwE1D2O5oCXe1LLV3MT7MaojaWTKbIm7w8Idm8Qpkdc44i+/5AbfMOz+DsJmhU5GHjsrCR/fq3xUTLYnuejOif5UE1XMsIam51gkog+yp9+caFNHG3UwVPTy8gCdDggDB0MR0mE/dgCP14Gqxj/7R68dC4hxf2iqnl49IUvzF6ywVBHuG94MdAp7+S4EuZSyQXM/5aTchVYVokET1RkuU/BP2ePexncJziIYisfb1jyBsr8H98+Rt99PF+tEGkR2U5+2x4i5VFNtGJrb3ev1EKNQ044zN6ZPTD2awuc/SCO5ZhphwtpJH1ng6qYvMlOp5Vw3gHZhRCgc+ez7hNaOPANXmn1FRH7n+mNHU+oJNhMqnQNt0uvB9j0DRHW4xp5yNYTOYjWZiEkYDoquUlS3lKIxWRPjNSah0QCBebGfwqzVSCeY566D2QRv76Zx/AuAgQAehD0w6vH3hcjoimS5mIWjJ+l7phJW+O8suT/Y1aS6FrKepR8OYKtLIpRBMs7ku6VOTUoqLGT53kz4PnNterEN6qj5CjDT6mVHpE=
file_glob: true
file:
- attract-*.dmg
skip_cleanup: true
on:
tags: true
repo: mickelson/attract
condition: $TRAVIS_OS_NAME = osx