summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2017-09-28 15:26:55 +0200
committerStefan Schmidt <stefan@osg.samsung.com>2017-09-28 15:26:55 +0200
commit30c085ca0e7fb88341a851e9004d3029fbda8a70 (patch)
treea19b80234550c02d32ba23c75eaeb4cc9b291a9c /.travis.yml
parent6f06979cdc28f4e6c29b8e6621f8ff0c285bf5e5 (diff)
ci: initial travis CI support for Linux distros and MacOSX builds
This has been used by myself in a branch for a while now and it is time to bring it into master as a base for all future CI related work. I plan to use the same scripts and other bits for Jenkins as well as other CI systems later on. What we currently cover with this setup are linux builds for three different distros and MacOSX builds for two different versions. Travis will only be called when new commits get mirrored onto our GitHub mirror (which only happens once an hour). Expect delays on these builds. https://travis-ci.org/Enlightenment/efl
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..209a1e0
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,29 @@
1language: c
2
3sudo: required
4dist: trusty
5
6os: linux
7
8services:
9 - docker
10
11before_install:
12 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then .ci/ci-osx-deps.sh ; fi
13
14matrix:
15 include:
16 - env: DISTRO=Ubuntu1704
17 - env: DISTRO=Fedora26
18 - env: DISTRO=Debian91
19 - os: osx
20 osx_image: xcode7.3
21 - os: osx
22 osx_image: xcode8.3
23
24# Xcode 7.3.1, OS X 10.11
25# Xcode 8.3.3, OS X 10.12
26
27script:
28 - if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$DISTRO" != "" ]]; then docker build -f .ci/Dockerfile-$DISTRO . ; fi
29 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then .ci/ci-osx-build.sh ; fi