Skip to content

Commit 382f74d

Browse files
committed
CP-15745: Use xenserver-build-env for travis build
Signed-off-by: John Else <john.else@citrix.com>
1 parent dd9c643 commit 382f74d

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.travis.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
language: c
2-
install: wget https://raw.githubusercontent.com/ocaml/ocaml-travisci-skeleton/master/.travis-opam.sh
3-
script: bash -ex .travis-opam.sh
2+
services: docker
3+
install:
4+
- wget https://raw.githubusercontent.com/xenserver/xenserver-build-env/master/utils/travis-build-repo.sh
5+
script: sh travis-build-repo.sh
46
sudo: true
57
env:
6-
- OCAML_VERSION=4.02 PACKAGE=xapi FORK_USER=xapi-project EXTRA_REMOTES=git://github.com/xapi-project/opam-repo-dev
8+
global:
9+
- REPO_PACKAGE_NAME=xapi
10+
- REPO_CONFIGURE_CMD=./configure
11+
- REPO_BUILD_CMD=make
12+
- REPO_TEST_CMD=make test
13+
matrix:
14+
- OCAML_VERSION=4.02
715
notifications:
816
slack: citrix:BHYQZbI8m036ELU21gZil75Y

0 commit comments

Comments
 (0)