|
|
@ -4,7 +4,6 @@ os:
|
|
|
|
- linux
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
- osx
|
|
|
|
services: docker
|
|
|
|
services: docker
|
|
|
|
osx_image: xcode7.3
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
before_install:
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq update; fi
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq update; fi
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y aspcud; fi
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y aspcud; fi
|
|
|
@ -12,9 +11,8 @@ before_install:
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew unlink python; fi
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew unlink python; fi
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install opam; fi
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install opam; fi
|
|
|
|
install:
|
|
|
|
install:
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then travis_wait 60 ./build-infer.sh --yes java --user-opam-switch --only-setup-opam; fi
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then opam init --reinit --no-setup --disable-sandboxing; fi
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then eval `opam env`; fi
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then travis_wait 60 opam install --yes .; fi
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then opam install --yes infer .; fi
|
|
|
|
|
|
|
|
script:
|
|
|
|
script:
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./.travis/local_install_tests.sh; fi
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./.travis/local_install_tests.sh; fi
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./.travis/docker_tests.sh; fi
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./.travis/docker_tests.sh; fi
|
|
|
|