From 092bdc0578151d0df32d7c6f2ee28a7c07df64cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Wed, 26 Aug 2015 20:28:38 -0700 Subject: [PATCH] First try at a gitlab CI script --- .gitlab-ci.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 000000000..78cee03eb --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,23 @@ +before_script: + - echo " == Installing Java" + - java -Xmx32m -version + - echo " == Installing the Android SDK" + - wget -o android-sdk-linux.tgz https://dl.google.com/android/android-sdk_r24.3.4-linux.tgz + - tar -xf android-sdk-linux + - mv android-sdk-linux android-sdk + - export ANDROID_SDK=$PWD/android-sdk + - export PATH="$ANDROID_SDK/tools:$PATH" + - echo " == Installing Android SDK components" + - android update sdk --no-ui -a -t platform-tools + - android update sdk --no-ui -a -t tools + - android update sdk --no-ui -a -t build-tools-23.0.0 + - android update sdk --no-ui -a -t android-22 + - android update sdk --no-ui -a -t extra-android-m2repository + - echo " == Installing Gradle" + - wget https://services.gradle.org/distributions/gradle-2.4-bin.zip + - unzip gradle-2.4-bin.zip + - export PATH="$PWD/gradle-2.4/bin:$PATH" + +build: + script: + - gradle build