mirror of
https://github.com/mirage/qubes-mirage-firewall.git
synced 2024-12-18 12:04:28 -05:00
Update Travis to test with Docker
This commit is contained in:
parent
b114e569f2
commit
f4a978b13c
@ -1,2 +1,4 @@
|
|||||||
.git
|
.git
|
||||||
_build
|
_build
|
||||||
|
*.xen
|
||||||
|
*.bz2
|
||||||
|
25
.travis.yml
25
.travis.yml
@ -1,23 +1,8 @@
|
|||||||
language: c
|
language: c
|
||||||
install: wget https://raw.githubusercontent.com/ocaml/ocaml-ci-scripts/master/.travis-mirage.sh
|
script:
|
||||||
script: bash -ex .travis-mirage.sh
|
- echo 'ADD . /home/opam/qubes-mirage-firewall' >> Dockerfile
|
||||||
|
- echo 'RUN sudo chown -R opam /home/opam/qubes-mirage-firewall' >> Dockerfile
|
||||||
|
- docker build -t qubes-mirage-firewall .
|
||||||
|
- docker run --rm -i qubes-mirage-firewall
|
||||||
sudo: required
|
sudo: required
|
||||||
dist: trusty
|
dist: trusty
|
||||||
addons:
|
|
||||||
apt:
|
|
||||||
sources:
|
|
||||||
- avsm
|
|
||||||
packages:
|
|
||||||
- ocaml
|
|
||||||
- ocaml-base
|
|
||||||
- ocaml-native-compilers
|
|
||||||
- ocaml-compiler-libs
|
|
||||||
- ocaml-interp
|
|
||||||
- ocaml-base-nox
|
|
||||||
- ocaml-nox
|
|
||||||
- camlp4
|
|
||||||
- camlp4-extra
|
|
||||||
- time
|
|
||||||
- libxen-dev
|
|
||||||
env:
|
|
||||||
- OCAML_VERSION=4.04 MIRAGE_BACKEND=xen
|
|
||||||
|
Loading…
Reference in New Issue
Block a user