4c0d37
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
4c0d37
From: Peter Jones <pjones@redhat.com>
4c0d37
Date: Wed, 11 Apr 2018 16:49:36 -0400
4c0d37
Subject: [PATCH] Add .travis.yml
4c0d37
4c0d37
Signed-off-by: Peter Jones <pjones@redhat.com>
4c0d37
---
4c0d37
 .travis.yml | 17 +++++++++++++++++
4c0d37
 1 file changed, 17 insertions(+)
4c0d37
 create mode 100644 .travis.yml
4c0d37
4c0d37
diff --git a/.travis.yml b/.travis.yml
4c0d37
new file mode 100644
4c0d37
index 00000000000..eb9be1e46f2
4c0d37
--- /dev/null
4c0d37
+++ b/.travis.yml
4c0d37
@@ -0,0 +1,17 @@
4c0d37
+language: c
4c0d37
+cache: ccache
4c0d37
+branches:
4c0d37
+  except:
4c0d37
+    - travis
4c0d37
+
4c0d37
+matrix:
4c0d37
+ include:
4c0d37
+   - os: linux
4c0d37
+     dist: trusty
4c0d37
+     services: docker
4c0d37
+
4c0d37
+before_install:
4c0d37
+  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then docker pull vathpela/efi-ci-rawhide:v0 ; fi
4c0d37
+
4c0d37
+script:
4c0d37
+  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then docker run vathpela/efi-ci-rawhide:v0 /bin/sh -c "cd /root/ && ./build.sh --branch \"$TRAVIS_BRANCH\" --commit \"$TRAVIS_COMMIT\" --commit-range \"$TRAVIS_COMMIT_RANGE\" --event-type \"$TRAVIS_EVENT_TYPE\" --pull-request \"$TRAVIS_PULL_REQUEST\" --pr-branch \"$TRAVIS_PULL_REQUEST_BRANCH\" --pr-sha \"$TRAVIS_PULL_REQUEST_SHA\" --remote \"$TRAVIS_PULL_REQUEST_SLUG\" --repo \"$TRAVIS_REPO_SLUG\" --test-subject gnu-efi" ; fi