You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
998 B
24 lines
998 B
9 years ago
|
sudo: required
|
||
|
language: c
|
||
|
os:
|
||
|
- linux
|
||
|
- osx
|
||
|
services: docker
|
||
|
osx_image: xcode7.3
|
||
|
before_install:
|
||
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
|
||
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install opam; fi
|
||
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then opam init; fi
|
||
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then opam switch 4.02.3; fi
|
||
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then eval `opam config env`; fi
|
||
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then opam update; fi
|
||
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then opam install -y depext; fi
|
||
|
install:
|
||
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then opam pin add -y --no-action infer .; fi
|
||
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then opam depext infer; fi
|
||
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then opam install -y infer; fi
|
||
|
script:
|
||
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./.travis/local_install_tests.sh; fi
|
||
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./.travis/docker_tests.sh; fi
|
||
|
- git diff --exit-code
|