forked from pivotal-sprout/sprout-wrap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
24 lines (21 loc) · 977 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
language: objective-c
rvm: system
osx_image: xcode7.3
install:
- rm -rf /usr/local/var/postgres # clear out Travis installed Postgres 9.4 data
# Travis is very behind on updates, so we must replace the softwareupdate
# binary with a script that exits quickly, otherwise the Travis build will
# time out.
- mkdir $HOME/bin
- printf '#!'"/usr/bin/env bash\necho 'Actual software update is overridden to allow Travis build to succeed. This can be removed when Travis OS X machine has been updated.'" > $HOME/bin/softwareupdate
- chmod +x $HOME/bin/softwareupdate
# We are testing installation of homebrew, so should uninstall everything
- brew cask list
- brew cask zap $(brew cask list)
- brew list
- brew uninstall --force $(brew list)
- ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
# We are testing installation of Rubies, so should uninstall everything
- rvm implode --force
script:
- ./sprout