forked from GoogleCloudPlatform/java-docs-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
17 lines (17 loc) · 846 Bytes
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
machine:
java:
version: oraclejdk8
dependencies:
pre:
- curl -LO https://github.com/mozilla/geckodriver/releases/download/v0.15.0/geckodriver-v0.15.0-linux64.tar.gz
&& sudo tar -zxf geckodriver-*.tar.gz -C "${HOME}/bin"
- sudo apt-add-repository "deb http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe"
&& sudo apt-get update
&& sudo apt-get install -t trusty-backports shellcheck
- sudo apt-get install expect
- openssl aes-256-cbc -d -in "${HOME}/${CIRCLE_PROJECT_REPONAME}/service-account.json.enc" -k "${key}" -iv "${iv}" -out "${HOME}/google-cloud-service-key.json"
- export GOOGLE_APPLICATION_CREDENTIALS="${HOME}/google-cloud-service-key.json"
test:
override:
- bash ./travis.sh &&
bash <(curl -s https://codecov.io/bash) # If successful, run code coverage