-
Notifications
You must be signed in to change notification settings - Fork 41
/
.travis.yml
75 lines (74 loc) · 5.07 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
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
sudo: required
dist: trusty
jobs:
include:
- stage: build
language: cpp
os: linux
jdk: oraclejdk8
before_install:
- pushd $HOME
- ls
- ls ./protobuf-3.6.1
- bash ./build/rsocket/rsocket-rpc-java/ci/install_protobuf.sh
- popd
- java -version
- protoc --version
script: "./ci/travis.sh"
- stage: build
language: cpp
os: osx
osx_image: xcode11.2
compiler: clang
before_install:
- sudo rm -rf /Library/Java/JavaVirtualMachines/*
- curl -OLJ https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u252-b09.1/OpenJDK8U-jdk_x64_mac_hotspot_8u252b09.tar.gz
- tar -xzf OpenJDK8U-jdk_x64_mac_hotspot*.tar.gz
- sudo mkdir /Library/Java/JavaVirtualMachines/openjdk-8.jdk
- sudo mv jdk8*/* /Library/Java/JavaVirtualMachines/openjdk-8.jdk/
- ls /Library/Java/JavaVirtualMachines/openjdk-8.jdk
- export JAVA_HOME=/Library/Java/JavaVirtualMachines/openjdk-8.jdk/Contents/Home
- java -version
- brew uninstall --ignore-dependencies protobuf
- pushd $HOME
- ls
- ls ./protobuf-3.6.1
- bash ./build/rsocket/rsocket-rpc-java/ci/install_protobuf.sh
- popd
- protoc --version
script: "./ci/travis.sh"
- stage: deploy
language: cpp
os: windows
filter_secrets: false
env:
- GRADLE_OPTS="-Dorg.gradle.daemon=false"
before_install:
- rm -r "/c/Program Files (x86)/Microsoft Visual Studio 14.0"
- export PATH=$PATH:"/c/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16.27023/bin/HostX86/x64"
- choco install -y adoptopenjdk8 --version 8.232.9
- export PATH=$PATH:"/c/Program Files/AdoptOpenJDK/jdk-8.0.232.09-hotspot/bin"
- wget https://github.com/google/protobuf/releases/download/v3.6.1/protobuf-cpp-3.6.1.tar.gz
- tar -xzf protobuf-cpp-3.6.1.tar.gz
- pushd protobuf-3.6.1/cmake
- mkdir build && cd build
- cmake -A x64 -DCMAKE_INSTALL_PREFIX="/c/Program Files/protobuf" -DCMAKE_CXX_FLAGS="-std=c++11 -EHsc" -Dprotobuf_BUILD_TESTS=OFF ..
- cmake --build . --config Release --target install
- popd
script: "./ci/travis.sh"
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
notifications:
email: false
cache:
directories:
- "$HOME/protobuf-3.6.1/"
- "$HOME/.gradle/caches/"
- "$HOME/.gradle/wrapper/"
- "$HOME/.m2"
env:
global:
- secure: "ErthuwJHqk8MPlGQcwaSV1mk6DI1z6YHg+XnNUE9yx/EXUqVMyazu5u9VqlZhMMQQm6II8Y8oBF1uK4JdNVKa44xCt8OM3d/HbG5WhYyigNuKaOgK19FGfA7hciY4gzcMsix/lOryqu8JlYqABAIJFwZIJFtnEdylxUO46/PLP01TOHVOrnaUXpTNm6esaXfmgv1ToQCtwALSgo/xy2KYFA6vpzcTYnMii9eMaOZdy3162t8M6equ2WHhqiKvxCX1+M8D76/WoRF1v45dekAV3UKSBf5b3UcK1W1V/NxtwMufD7tXLGxDsBo2JWQOLjx+AyiKGwhVkZBbvfECDKKjq3x5NMjvjqleprYNEKQYibCNvhXVpZPZgKt899RHOXMjt+fr+iq1aHpHU98iFWXyp+MgYbe9Fez/xcWDH9rri+LKsCgZd1PtpDjTjUsZWesAsXYQatTGOZ0w0cOkURbVhUKltnf/AzuhOlj3XqJmO30vKiBhtwzyfvrURc+0GqWlRoU0C1qskmtmI10PJRR1Qv3eMKvvi6XIQfit9J01V/0sJ+WoG6980hJy0N421qr1+LNg3WmDGtMp6UyoAvjUbDFaW3xzGdbsNmLzWqfaFY1kM7ry6WaVVbGE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