Skip to content

Commit 29c7221

Browse files
committed
https://travis-ci.community/t/windows-builds-failing-when-using-env-vars/2214
1 parent f40acd3 commit 29c7221

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

.travis.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,24 @@ jobs:
1212
- ./configure --disable-shared && make && sudo make install
1313
- popd
1414
script: "./ci/travis.sh"
15-
- stage: build
16-
language: cpp
17-
os: windows
18-
env:
19-
- GRADLE_OPTS="-Dorg.gradle.daemon=false"
20-
before_install:
21-
- rm -r "/c/Program Files (x86)/Microsoft Visual Studio 14.0"
22-
- export PATH=$PATH:"/c/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16.27023/bin/HostX86/x64"
23-
- choco install -y jdk8 --version 8.0.201
24-
- export PATH=$PATH:"/c/Program Files/Java/jdk1.8.0_201/bin"
25-
- wget https://github.com/google/protobuf/releases/download/v3.6.1/protobuf-cpp-3.6.1.tar.gz
26-
- tar -xzf protobuf-cpp-3.6.1.tar.gz
27-
- pushd protobuf-3.6.1/cmake
28-
- mkdir build && cd build
29-
- cmake -A x64 -DCMAKE_INSTALL_PREFIX="/c/Program Files/protobuf" -DCMAKE_CXX_FLAGS="-std=c++11 -EHsc" -Dprotobuf_BUILD_TESTS=OFF ..
30-
- cmake --build . --config Release --target install
31-
- popd
32-
script: "./ci/travis.sh"
15+
#- stage: build
16+
# language: cpp
17+
# os: windows
18+
# env:
19+
# - GRADLE_OPTS="-Dorg.gradle.daemon=false"
20+
# before_install:
21+
# - rm -r "/c/Program Files (x86)/Microsoft Visual Studio 14.0"
22+
# - export PATH=$PATH:"/c/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16.27023/bin/HostX86/x64"
23+
# - choco install -y jdk8 --version 8.0.201
24+
# - export PATH=$PATH:"/c/Program Files/Java/jdk1.8.0_201/bin"
25+
# - wget https://github.com/google/protobuf/releases/download/v3.6.1/protobuf-cpp-3.6.1.tar.gz
26+
# - tar -xzf protobuf-cpp-3.6.1.tar.gz
27+
# - pushd protobuf-3.6.1/cmake
28+
# - mkdir build && cd build
29+
# - cmake -A x64 -DCMAKE_INSTALL_PREFIX="/c/Program Files/protobuf" -DCMAKE_CXX_FLAGS="-std=c++11 -EHsc" -Dprotobuf_BUILD_TESTS=OFF ..
30+
# - cmake --build . --config Release --target install
31+
# - popd
32+
# script: "./ci/travis.sh"
3333
- stage: deploy
3434
language: cpp
3535
os: osx

0 commit comments

Comments
 (0)