aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml3
-rw-r--r--scripts/install-robolectric.bat15
-rwxr-xr-xscripts/install-robolectric.sh23
-rw-r--r--scripts/pom_template.xml38
4 files changed, 2 insertions, 77 deletions
diff --git a/.travis.yml b/.travis.yml
index 2b63ec7ec..07ccd072f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -20,7 +20,8 @@ before_install:
- ./scripts/install-dependencies.rb
script:
- - ./scripts/install-robolectric.sh
+ - ./gradlew clean assemble install compileTest --info --stacktrace
+ - ./gradlew --continue test --info --stacktrace
after_success:
- ./scripts/deploy-snapshot.sh
diff --git a/scripts/install-robolectric.bat b/scripts/install-robolectric.bat
deleted file mode 100644
index 0f671b0d4..000000000
--- a/scripts/install-robolectric.bat
+++ /dev/null
@@ -1,15 +0,0 @@
-@echo off
-set TMPPATH="%TEMP%.\install-robolectric.bat.tmp"
-cd > "%TMPPATH%"
-set /p PROJECT=<"%TMPPATH%"
-del "%TMPPATH%"
-
-rem Build everything
-echo Installing base installation (skipping tests)...
-cd "%PROJECT%"
-call gradlew clean assemble install compileTest --info --stacktrace
-
-rem Build everything with tests (tests require the shadows)
-echo Installing base installation (with tests)...
-cd "%PROJECT%"
-call gradlew --continue test --info --stacktrace
diff --git a/scripts/install-robolectric.sh b/scripts/install-robolectric.sh
deleted file mode 100755
index 7e652d4a6..000000000
--- a/scripts/install-robolectric.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/bash
-#
-# Install Robolectric into the local Maven repository.
-#
-set -e
-
-PROJECT=$(cd $(dirname "$0")/..; pwd)
-
-build_robolectric() {
- echo "Building Robolectric..."
- cd "$PROJECT"
- ./gradlew clean assemble install compileTest --info --stacktrace
-}
-
-run_tests() {
- echo "Running Tests..."
- cd "$PROJECT"
- ./gradlew --continue test --info --stacktrace
-}
-
-build_robolectric
-run_tests
-echo "Installation successful!" \ No newline at end of file
diff --git a/scripts/pom_template.xml b/scripts/pom_template.xml
deleted file mode 100644
index fa3e7ddef..000000000
--- a/scripts/pom_template.xml
+++ /dev/null
@@ -1,38 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.robolectric</groupId>
- <artifactId>ARTIFACT_ID</artifactId>
- <version>VERSION</version>
- <packaging>jar</packaging>
- <parent>
- <groupId>org.sonatype.oss</groupId>
- <artifactId>oss-parent</artifactId>
- <version>7</version>
- </parent>
- <name>Google Android ARTIFACT_ID Library</name>
- <description>
- A library jar that provides APIs for Applications written for the Google Android Platform.
- </description>
- <url>http://source.android.com/</url>
- <inceptionYear>2008</inceptionYear>
- <licenses>
- <license>
- <name>Apache 2.0</name>
- <url>http://www.apache.org/licenses/LICENSE-2.0</url>
- <comments>
- While the EULA for the Android SDK restricts distribution of those binaries, the source code is licensed under Apache 2.0 which allows compiling binaries from source and then distributing those versions.
- </comments>
- <distribution>repo</distribution>
- </license>
- </licenses>
- <scm>
- <url>https://android.git.kernel.org/</url>
- <connection>git://android.git.kernel.org/platform/manifest.git</connection>
- </scm>
- <developers>
- <developer>
- <name>The Android Open Source Projects</name>
- </developer>
- </developers>
-</project>