Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec / .travis.yml @ a1daa793

History | View | Annotate | Download (1.5 KB)

1 63b3db9c Temesghen Kahsai
language: c
2
env:
3 f7f851cf lememta
  - OCAML_VERSION=4.02.1 OPAM_VERSION=1.2.0
4
  - OCAML_VERSION=4.02.1 OPAM_VERSION=1.1.0
5
  - OCAML_VERSION=4.01.0 OPAM_VERSION=1.2.0
6 63b3db9c Temesghen Kahsai
  - OCAML_VERSION=4.01.0 OPAM_VERSION=1.1.0
7 f7f851cf lememta
8
before_install:
9 9c68a71d Teme
  - until sudo add-apt-repository -y ppa:saiarcot895/chromium-beta; do echo retry; done
10 01ba35c3 Teme
  - until sudo add-apt-repository --yes ppa:kalakris/cmake; do echo retry; done
11
  - until sudo apt-get -qq update; do echo retry; done 
12
  - until sudo apt-get install cmake; do echo retry; done
13 f7f851cf lememta
  - OPAM_DEPENDS="ocamlgraph ocamlfind"
14 90a93c65 lememta
  - chmod +x ./.ocaml-config.sh
15
  - sudo -E ./.ocaml-config.sh
16 f7f851cf lememta
17
install:
18
  - sudo apt-get update -qq
19
  - sudo apt-get install -qq ocaml opam
20
  - export OPAMYES=1
21
  - opam init
22
  - opam install ${OPAM_DEPENDS}
23
  - eval `opam config env`
24 70a6ee5a Teme
  - export LZ="$TRAVIS_BUILD_DIR/../zustre"
25
  - git clone https://github.com/coco-team/zustre $LZ
26 868650b1 Teme
  - ls $LZ
27 f7f851cf lememta
28
before_script:
29
  - ocaml -version
30
  - opam --version
31
32
script:
33
  - autoconf
34
  - ./configure
35
  - make
36 c95fa0fe Teme
  - ./bin/lustrec
37
  - cd $LZ
38
  - mkdir -p build
39
  - cd build
40
  - /usr/bin/cmake -DLUSTREC_EXECUTABLE=/home/travis/build/coco-team/lustrec/bin/lustrec -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=run -DCMAKE_PROGRAM_PATH=/usr/bin  ../;
41
  - /usr/bin/cmake --build .
42
  - /usr/bin/cmake --build . --target install 
43
  - cd ..
44
  - ls build/run/bin
45 0aa82be6 Teme
  - ./build/run/bin/zustre -h
46
  -  python src/reg_test.py ./build/run/bin/zustre
47 3de1d821 Teme
  
48 e41592cf Temesghen Kahsai
49
50 63b3db9c Temesghen Kahsai
51
notifications:
52
  email:
53
    recipients:
54 e41592cf Temesghen Kahsai
     - lustrec-build@googlegroups.com
55 63b3db9c Temesghen Kahsai
    on_success: always
56 70a6ee5a Teme
    on_failure: always