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)
downloadefl-30c085ca0e7fb88341a851e9004d3029fbda8a70.tar.gz
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 0000000000..209a1e0071
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,29 @@
+language: c
+
+sudo: required
+dist: trusty
+
+os: linux
+
+services:
+ - docker
+
+before_install:
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then .ci/ci-osx-deps.sh ; fi
+
+matrix:
+ include:
+ - env: DISTRO=Ubuntu1704
+ - env: DISTRO=Fedora26
+ - env: DISTRO=Debian91
+ - os: osx
+ osx_image: xcode7.3
+ - os: osx
+ osx_image: xcode8.3
+
+# Xcode 7.3.1, OS X 10.11
+# Xcode 8.3.3, OS X 10.12
+
+script:
+ - if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$DISTRO" != "" ]]; then docker build -f .ci/Dockerfile-$DISTRO . ; fi
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then .ci/ci-osx-build.sh ; fi