forked from mirage/ocaml-rpc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
20 lines (20 loc) · 1012 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
language: c
sudo: false
services:
- docker
install: wget https://raw.githubusercontent.com/ocaml/ocaml-travisci-skeleton/master/.travis-docker.sh
script: bash -ex .travis-docker.sh
env:
global:
- DISTRO=debian-unstable
- PINS="rpclib.master:. rpclib-js.master:. rpclib-html.master:. rpclib-lwt.master:. rpclib-async.master:. ppx_deriving_rpc.master:."
- PACKAGE=rpc
matrix:
- OCAML_VERSION=4.06.0 PRE_INSTALL_HOOK="sudo apt-get update -y; sudo apt-get install -y pylint pycodestyle"
# We install the packages required by the unit test for linting the generated Python code in PRE_INSTALL_HOOK:
- PACKAGE=rpclib OCAML_VERSION=4.06.0
- PACKAGE=ppx_deriving_rpc OCAML_VERSION=4.06.0
- OCAML_VERSION=4.05.0 PRE_INSTALL_HOOK="sudo apt-get update -y; sudo apt-get install -y pylint pycodestyle"
- OCAML_VERSION=4.04.2 PRE_INSTALL_HOOK="sudo apt-get update -y; sudo apt-get install -y pylint pycodestyle"
matrix:
fast_finish: true