Skip to content

Commit 4393f43

Browse files
jvillardfacebook-github-bot
authored andcommitted
[travis] fix osx build
Summary: Untested code didn't work, surprise! Reviewed By: mbouaziz Differential Revision: D13179256 fbshipit-source-id: 30a078242
1 parent 6aba4b7 commit 4393f43

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.travis.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,15 @@ os:
44
- linux
55
- osx
66
services: docker
7-
osx_image: xcode7.3
87
before_install:
98
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq update; fi
109
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y aspcud; fi
1110
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
1211
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew unlink python; fi
1312
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install opam; fi
1413
install:
15-
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then travis_wait 60 ./build-infer.sh --yes java --user-opam-switch --only-setup-opam; fi
16-
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then eval `opam env`; fi
17-
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then opam install --yes infer .; fi
14+
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then opam init --reinit --no-setup --disable-sandboxing; fi
15+
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then travis_wait 60 opam install --yes .; fi
1816
script:
1917
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./.travis/local_install_tests.sh; fi
2018
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./.travis/docker_tests.sh; fi

0 commit comments

Comments
 (0)