diff --git a/.travis.yml b/.travis.yml index 6a7389553..a2ce3c8b6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -61,7 +61,7 @@ script: - | if [[ "${TRAVIS_OS_NAME}" == "windows" ]]; then powershell -Command 'Set-ExecutionPolicy RemoteSigned -scope CurrentUser' - BAZEL_VERSION=host powershell -File ./${TEST_SCRIPT}.ps1 - else - bash ./${TEST_SCRIPT}.sh ci + export JAVA_HOME='c:\\\\java8' + export BAZEL_VERSION=host fi + bash ./${TEST_SCRIPT}.sh ci diff --git a/test_reproducibility.ps1 b/test_reproducibility.ps1 deleted file mode 100644 index e70786fc9..000000000 --- a/test_reproducibility.ps1 +++ /dev/null @@ -1,3 +0,0 @@ -Set-StrictMode -Version latest -$ErrorActionPreference = 'Stop' - diff --git a/test_rules_scala.ps1 b/test_rules_scala.ps1 deleted file mode 100644 index 29bfc43bc..000000000 --- a/test_rules_scala.ps1 +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/env pwsh - -Set-StrictMode -Version latest -$ErrorActionPreference = 'Stop' - -$env:JAVA_HOME='c:\\java8' - -function bazel() { - Write-Output ">> bazel $args" - $global:lastexitcode = 0 - $backupErrorActionPreference = $script:ErrorActionPreference - $script:ErrorActionPreference = "Continue" - & bazel.exe @args 2>&1 | %{ "$_" } - $script:ErrorActionPreference = $backupErrorActionPreference - if ($global:lastexitcode -ne 0 -And $args[0] -ne "shutdown") { - Write-Output "<< bazel $args (failed, exit code: $global:lastexitcode)" - throw ("Bazel returned non-zero exit code: $global:lastexitcode") - } - Write-Output "<< bazel $args (ok)" -} - -bazel build //test/... -bazel shutdown - -bazel test ` - //test:HelloLibTest ` - //test:HelloLibTestSuite_test_suite_HelloLibTest.scala ` - //test:HelloLibTestSuite_test_suite_HelloLibTest2.scala ` - //test:LongTestSuiteNamesSuite ` - //test:TestFilterTests ` - //test:no_sig ` - //test/aspect:aspect_test ` - //test/aspect:scala_test ` - //test/proto:test_blacklisted_proto ` - //test/src/main/scala/scalarules/test/resource_jars:resource_jars ` - //test/src/main/scala/scalarules/test/twitter_scrooge/...