File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 4
4
- linux
5
5
- osx
6
6
services : docker
7
- osx_image : xcode7.3
8
7
before_install :
9
8
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq update; fi
10
9
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y aspcud; fi
11
10
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
12
11
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew unlink python; fi
13
12
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install opam; fi
14
13
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
18
16
script :
19
17
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./.travis/local_install_tests.sh; fi
20
18
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./.travis/docker_tests.sh; fi
You can’t perform that action at this time.
0 commit comments