-
Notifications
You must be signed in to change notification settings - Fork 22
/
.travis.yml
36 lines (33 loc) · 1019 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
33
34
35
36
language: kotlin
sudo: required
dist: trusty
jdk:
- oraclejdk8
stages:
- name: build
- name: benchmark
if: type == pull_request
- name: upload
if: branch = master AND type != pull_request AND sender != 47degdev
- name: deploy
if: branch = master AND type != pull_request
jobs:
include:
- stage: build
script:
- ./gradlew clean build test
- ./gradlew :docs:runAnk
- stage: benchmark
script:
- git clone https://github.com/47degrees/helios helios_master
- cd helios_master && ./gradlew :helios-benchmarks:executeMasterBenchmark && cd ..
- ./gradlew :helios-benchmarks:executeHeliosBenchmark
- ./gradlew :helios-benchmarks:compareBenchmarkCI
- stage: upload
script:
- ./gradlew :helios-benchmarks:executeMasterBenchmark
- ./gradlew :helios-benchmarks:executeLibrariesBenchmark
- ./gradlew :helios-benchmarks:uploadBenchmark
- stage: deploy
script:
- ./deploy-scripts/deploy.sh