-
Notifications
You must be signed in to change notification settings - Fork 15
/
.travis.yml
43 lines (42 loc) · 5.84 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
env:
global:
- secure: mMIoTEgpKEhOKj5iMl+QkgLISGMMfKQJu4X3lEvBeSVWx6VrtrD4crl5xQrm/8JkDUo3VjUkSMKoTtN8YW27tx3bnpZIC8Q71omWXtO1K4J3nKfUBj1gS2QEpt1je+IXgR+ZvwrgDNe9YS0EfcjRT5or8/LgXcqCb1O+LfOc3EheTs86MMZzFdaawj7TGAmV9GyKPjZKe9Hb0L0TqeYlXbQY8RFntn31uW8qspXy3cnqXLgpqi09knDafDJwBO7F4fwUuzy8vKqzJIk9AaQ7ZRNRXc6XteiH39f3bqT2XYlu75bYTLIj/4vi3sDZZ8YJFPxK3Yi4N0LWY47njOVKCiHMTqsBGHoTfSYmVJutGIjLcCTK0WuEji0G+WjJc18BLkGru2vFn8XFhm2FSedMiR84QaEziiWFJ+APm4nfuwjS/U/E+5CBB0A7difOEqDXwgJDhRvE0a2rmBV2ZK9VIrBAFn3gWEtgA1n6sCLknN4olCiFaOAEPHXeTX9AbI8B5NIWq3TYoHIbj3x8BAfch+4UbkZvq6UzHa5gd940pcbXHTlDPHBb5DtjTp3oRiMrj8dg3to0guK/O6OeMnYQENnVR64WPPQWOtV0qjeIDh9d0T/gcFI9sgfkisfzSKR2ipZsnwGbLr2PsG3h4zQ3L5kot474VSLrtGEhAKC0ctw=
- secure: oPk75+zbZx6pCDlwqvMUErh+wc6jkpXeQ6oj16gARwCkCpQWt8/Oi945Zz01YwpReYKFLeMzk7EhliYkpJvnqqcfaJH/XqOoCbSNdsLLTi1Vw0wJBBetNjMyICFU958FDRw8bqVdqdAvShne2FzvIJFvTucVlg3aAaqszuGsWRzdxduXOxW6jIUIC01qq1eSN0NlS2d3PcSn4rmc/uzUQUOCOWfCOoe9n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GLE_APPLICATION_CREDENTIALS="client-secrets.json"
# Warning: Even though each subproject's client-secrets.json file is located in the corresponding subproject's folder when setting GOOGLE_APPLICATION_CREDENTIALS we need to just declare the json filename!
# This way the JVM which is running for each subproject will properly resolve the file's path relative to it's CWD.
# For example: CloudSpannerBackupRestore's CWD + GOOGLE_APPLICATION_CREDENTIALS == /Pontem/CloudSpannerBackupRestore + client-secrets.json
- JACOCO_REPORT_PATH="build/reports/jacoco/test/jacocoTestReport.xml"
language: java
sudo: false
install:
- true
jdk:
- openjdk8
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.m2/repository/
before_script:
stages:
- STYLE
- BUILD_TEST_AND_COVERAGE
- E2E_TESTS
jobs:
include:
- stage: BIQUERY_WORKLOAD_TESTER_STYLE # Checkstyle is actually included in Gradle's build task but an independent run allows for much cleaner output
if: commit_message =~ /(\[BigQueryWorkloadTester\]|\[Root\])/ OR commit_message !~ /(\[BigQueryWorkloadTester\]|\[Root\])/ # If no tag is matched run everything
script:
- gradle clean :BigQueryWorkloadTester:check
- stage: BIQUERY_WORKLOAD_TESTER_BUILD_TEST_AND_COVERAGE
if: commit_message =~ /(\[BigQueryWorkloadTester\]|\[Root\])/ OR commit_message !~ /(\[BigQueryWorkloadTester\]|\[Root\])/ # If no tag is matched run everything
script:
- gradle clean :BigQueryWorkloadTester:build :BigQueryWorkloadTester:jacocoTestReport --info --stacktrace
- bash <(curl -s https://codecov.io/bash) -f BigQueryWorkloadTester/$JACOCO_REPORT_PATH -F BigQueryWorkloadTester