-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml.disabled
103 lines (103 loc) · 4.26 KB
/
.travis.yml.disabled
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
notifications:
email: false
git:
quiet: true
depth: false
env:
global:
- TERM=dumb
- secure: TAsK9QeWPnBvISvptzerQKiyIYfGrpSN/ZSYITVpFbAd0P8uY7o43cEC37ltBCpHp/nXmZ7SwJdw49rdsS/Lun4lPLTozyoAZJdVtjbIC6Oq/KohULSVa/AOphV/rjZU+2uM3BJy6wXRs11IEMJWqGMtkYmuBs4LIqUy9Juc8F7M2HpSBsSaEne6fakg4vfWMHeLFJFhEw0TDRbNFhXCGhnxF9aPKlLJIViibzoPpzJdep7E0TiUbiZAQ3lOX32CFsDq9y/xHzIunQFo7VVT4uQLqtuBq42LoxCbboFKRdWG/hUTML3c6kdl8SIjElnzX3aed6bbw+KxRAGcIGse/eHjlq0Pu7Gies+dTk3gUyaCbDMP5+cumOd6VjbKXVgKaiJlyzxTa2UoFSkzQhp9aGohxph377um5FkYoDDWv7eG+hcGXhPBRhK6e052kAU/Ug0b1T+I7LBSxxCV9buijY7GgqDOrErpmSJ435KgmiNpUtXItGQBak7pL7285672xHDwJ0Zc2zg7NvoEImeFlRXTTrfg+Zg/C8wx2IF2+KIY3gLZaxdcLLy9b9NUdDKS46MVvd4G/PdxJJgt5FbSuGoXSmXmTwWA/VeAvD+c6mjf7LUfQTVuq2BuLicf2V7gz7EhCZCjG208h7RxoLx8UZZtqVJ6bLt+xU68hOJOhpo=
language: java
jdk: openjdk8
python: 3.8
addons:
apt:
packages:
- curl
- python3-dev
- python3-pip
install: true
before_install:
- python3 -m pip install --upgrade pip setuptools
- python3 -m pip install --upgrade httpie
#
- if [ ! -f ${HOME}/.local/daggerok/bash-functions/master/main.bash ] ; then
mkdir -p ${HOME}/.local/daggerok/bash-functions/master ;
curl -s https://raw.githubusercontent.com/daggerok/bash-functions/master/main.bash > ${HOME}/.local/daggerok/bash-functions/master/main.bash ;
fi ;
source ${HOME}/.local/daggerok/bash-functions/master/main.bash ;
- stop_any 5432 5672 27017 8080 3000 80 >/dev/null
before_cache:
- find ~/.gradle -name "fileHashes.bin" -print0 | xargs -0 rm -rfv '{}'
- for item in $(find ~/.gradle -name "*.lock") ; do rm -rfv $item ; done
jobs:
include:
- stage: test
name: yet-another-reactor-testing
script: cd $TRAVIS_BUILD_DIR/yet-another-reactor-testing && ./gradlew dependencyUpdates -Drevision=release clean sources fatJar installDist build
- stage: test
name: reactor-tests maven
script:
- cd $TRAVIS_BUILD_DIR && ./mvnw -f ./reactor-tests/pom.xml
- stage: test
name: reactor-tests gradle
script:
- cd $TRAVIS_BUILD_DIR && ./gradlew -b ./reactor-tests/build.gradle.kts
- stage: test
name: random-examples maven
script:
- cd $TRAVIS_BUILD_DIR && ./mvnw -f ./random-examples/pom.xml
- stage: test
name: random-examples gradle
script:
- cd $TRAVIS_BUILD_DIR/random-examples && ./gradlew -v
- cd $TRAVIS_BUILD_DIR/random-examples && ./gradlew
- stage: test
name: map-filter-buffer maven
script:
- cd $TRAVIS_BUILD_DIR && ./mvnw -f map-filter-buffer
- java -jar $TRAVIS_BUILD_DIR/map-filter-buffer/target/*-all.jar
- stage: test
name: map-filter-buffer gradle
script:
- cd $TRAVIS_BUILD_DIR && ./gradlew -b ./map-filter-buffer/build.gradle
- rm -rf $TRAVIS_BUILD_DIR/map-filter-buffer/build/libs/*javadoc*.jar
- rm -rf $TRAVIS_BUILD_DIR/map-filter-buffer/build/libs/*sources*.jar
- java -jar $TRAVIS_BUILD_DIR/map-filter-buffer/build/libs/*.jar
- stage: test
name: map-filter-retry maven
script:
- cd $TRAVIS_BUILD_DIR && ./mvnw -f map-filter-retry
- java -jar $TRAVIS_BUILD_DIR/map-filter-retry/target/*-all.jar
- stage: test
name: map-filter-retry gradle
script:
- cd $TRAVIS_BUILD_DIR/map-filter-retry && ./gradlew
- rm -rf $TRAVIS_BUILD_DIR/map-filter-retry/build/libs/*javadoc*.jar
- rm -rf ./map-filter-retry/build/libs/*sources*.jar
- java -jar $TRAVIS_BUILD_DIR/map-filter-retry/build/libs/*.jar
- stage: deploy
name: gh-pages
script: skip
before_deploy:
- cd $TRAVIS_BUILD_DIR && ./gradlew documentation
- cd $TRAVIS_BUILD_DIR && ./gradlew clean
- cd $TRAVIS_BUILD_DIR && ./mvnw -Pdocs
- mkdir -p $TRAVIS_BUILD_DIR/target/generated-docs
- cp -Rf $TRAVIS_BUILD_DIR/target/generated-docs/index.html $TRAVIS_BUILD_DIR/target/generated-docs/404.html
deploy: &pages
provider: pages
on:
branch: master
skip-cleanup: true
keep-history: true
target_branch: gh-pages
github-token: "$GITHUB_TOKEN"
local-dir: $TRAVIS_BUILD_DIR/target/generated-docs
cache:
pip: true
packages: true
directories:
- ~/.m2
- ~/.gradle
- ~/.local/daggerok