summaryrefslogtreecommitdiffstats
path: root/.travis/linux
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-x.travis/linux/build.sh3
-rwxr-xr-x.travis/linux/deps.sh3
-rwxr-xr-x[-rw-r--r--].travis/linux/docker.sh (renamed from .travis-build-docker.sh)5
-rwxr-xr-x.travis/linux/upload.sh14
4 files changed, 21 insertions, 4 deletions
diff --git a/.travis/linux/build.sh b/.travis/linux/build.sh
new file mode 100755
index 000000000..98433d184
--- /dev/null
+++ b/.travis/linux/build.sh
@@ -0,0 +1,3 @@
+#!/bin/bash -ex
+
+docker run -v $(pwd):/citra ubuntu:16.04 /bin/bash /citra/.travis/linux/docker.sh
diff --git a/.travis/linux/deps.sh b/.travis/linux/deps.sh
new file mode 100755
index 000000000..be3f6bece
--- /dev/null
+++ b/.travis/linux/deps.sh
@@ -0,0 +1,3 @@
+#!/bin/sh -ex
+
+docker pull ubuntu:16.04
diff --git a/.travis-build-docker.sh b/.travis/linux/docker.sh
index 01249ace0..e27af5600 100644..100755
--- a/.travis-build-docker.sh
+++ b/.travis/linux/docker.sh
@@ -1,7 +1,4 @@
-#!/bin/sh
-
-set -e
-set -x
+#!/bin/bash -ex
cd /citra
diff --git a/.travis/linux/upload.sh b/.travis/linux/upload.sh
new file mode 100755
index 000000000..dd265e0fd
--- /dev/null
+++ b/.travis/linux/upload.sh
@@ -0,0 +1,14 @@
+#!/bin/bash -ex
+
+. .travis/common/pre-upload.sh
+
+REV_NAME="citra-linux-${GITDATE}-${GITREV}"
+ARCHIVE_NAME="${REV_NAME}.tar.xz"
+COMPRESSION_FLAGS="-cJvf"
+
+mkdir "$REV_NAME"
+
+cp build/src/citra/citra "$REV_NAME"
+cp build/src/citra_qt/citra-qt "$REV_NAME"
+
+. .travis/common/post-upload.sh