forked from theos/theos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (33 loc) · 960 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
os: osx
osx_image: xcode7.2
language: objective-c
sudo: false
env:
global:
# $THEOS is absolutely needed for theos to even be found
- THEOS=$PWD
matrix:
# repos known to work with recent versions of theos. alphabetical order
- TEST_REPO=hbang/libcephei
- TEST_REPO=hbang/TypeStatus
- TEST_REPO=thomasfinch/PriorityHub
before_install:
# os x: update homebrew and install dependencies
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install dpkg ldid; fi
script:
# create a directory
- mkdir test
- cd test
# download the repo
- curl -Lso repo.tar.gz https://github.com/$TEST_REPO/tarball/master
# extract
- tar -x --strip-components=1 -f repo.tar.gz
# some of the test repos still use a theos symlink
- ln -s $THEOS theos
# build!
- make package messages=yes
# go back up
- cd ..
# remove test, ready for the next one
- rm -rf test