-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
32 lines (25 loc) · 895 Bytes
/
.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
language: java
jdk:
- openjdk8
env:
global:
- PATH="$PATH:/usr/lib/dart/bin"
before_install:
- chmod +x ./gradlew
- chmod +x ./config/scripts/publish-artifacts.sh
- chmod +x ./config/scripts/update-apt.sh
- ./config/scripts/update-apt.sh
- sudo apt-get install dart
- pub global activate protoc_plugin
- pub global activate dart_code_gen
install:
- openssl aes-256-cbc -K $encrypted_484d6a99d515_key -iv $encrypted_484d6a99d515_iv -in credentials.tar.enc -out credentials.tar -d
- tar xvf credentials.tar
script:
- ./gradlew check --stacktrace
# The publishing script should be executed in `script` section in order to
# fail the Travis build if execution of this script is failed.
- ./config/scripts/publish-artifacts.sh
after_success:
# See: https://github.com/codecov/example-java/blob/master/.travis.yml
- bash <(curl -s https://codecov.io/bash)