mirror of
https://github.com/c-cube/sidekick.git
synced 2025-12-09 20:55:39 -05:00
Added travis CI
This commit is contained in:
parent
3e30a77569
commit
54ba6bc745
2 changed files with 23 additions and 0 deletions
16
.travis-ci.sh
Normal file
16
.travis-ci.sh
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# Edit this for your own project dependencies
|
||||
OPAM_DEPENDS="ocamlfind ocamlbuild"
|
||||
|
||||
echo "yes" | sudo add-apt-repository ppa:avsm/ocaml42+opam12
|
||||
sudo apt-get update -qq
|
||||
sudo apt-get install -qq ocaml ocaml-native-compilers camlp4-extra opam
|
||||
export OPAMYES=1
|
||||
export OPAMVERBOSE=1
|
||||
opam init
|
||||
opam switch OCAML_VERSION
|
||||
eval `opam config env`
|
||||
opam install ${OPAM_DEPENDS}
|
||||
eval `opam config env`
|
||||
make lib
|
||||
make bin
|
||||
make test
|
||||
7
.travis.yml
Normal file
7
.travis.yml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
language: c
|
||||
script: bash -ex .travis-ci.sh
|
||||
env:
|
||||
- OCAML_VERSION=4.00.1
|
||||
- OCAML_VERSION=4.01.0
|
||||
- OCAML_VERSION=4.02.3
|
||||
- OCAML_VERSION=4.03.0+flambda
|
||||
Loading…
Add table
Reference in a new issue