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.
31 lines
752 B
31 lines
752 B
language: c
|
|
env:
|
|
- OCAML_VERSION=4.08.1
|
|
cache:
|
|
directories:
|
|
- ${HOME}/.opam
|
|
- facebook-clang-plugins
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- libmpfr-dev
|
|
before_install:
|
|
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then ARCH="darwin"; else ARCH="linux"; fi
|
|
- wget -O ${HOME}/opam https://github.com/ocaml/opam/releases/download/2.0.3/opam-2.0.3-x86_64-${ARCH}
|
|
- chmod +x ${HOME}/opam
|
|
- export PATH=${HOME}:${PATH}
|
|
- export OPAMYES=1
|
|
- export OPAMJOBS=2
|
|
- opam init --compiler=${OCAML_VERSION} --disable-sandboxing
|
|
- eval $(opam env)
|
|
- export OPAMVERBOSE=1
|
|
install:
|
|
- opam update --upgrade
|
|
- opam pin add --no-action infer .
|
|
- opam depext --update infer
|
|
- opam install --deps-only infer
|
|
script:
|
|
- opam install infer
|
|
os:
|
|
- linux
|