-
-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy path.travis.yml
36 lines (31 loc) · 1.46 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
# The os: directive should work to set the proper operating system, but it
# appears this is a beta feature only on some accounts?
#
# To get around that for now, we tell a little white lie about what language
# we are using, which forces travis-ci to use a OSX box.
os: osx
language: objective-c
# Travis CI does a lot to get their OSX image all nice and ready to go.
#
# That's great, but not so great for testing our own bootstrapping script.
#
# So let's do a few things to *undo* that, in order to make sure our script will
# work on a semi virgin setup.
before_install:
# uninstall homebrew
- sudo /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall.sh)" -- --force
# TODO: it would be great if we could uninstall the XCode Dev Tools and CLI
# dev tools to ensure at least the CLI version gets reinstalled, but I think
# that the automated ways to install it still require the user to click a
# button on a popup, so might not work here. Figure this out.
- ls -lh /var/db/receipts
# Use environment vars to override default bootslap repo location, otherwise
# bootslap.sh is going to guess based on a username of "travis."
#
# We could also change that username for travis but let's not, that way we can
# make sure our scripts don't rely on hard coded usernames anywhere.)
env: BOOTSLAP_REPO=https://github.com/mroth/bootslap.git
install:
- curl -sL http://git.io/bootslap > /tmp/bootslap
script:
- yes | bash /tmp/bootslap