Skip to content

Commit 6950901

Browse files
committed
build: upgrade setuptools on CI
1 parent d3b29f4 commit 6950901

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.travis.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ matrix:
1010
- g++-4.9
1111
sources: &sources
1212
- llvm-toolchain-precise-3.8
13-
- ubuntu-toolchain-r-test
13+
- ubuntu-toolchain-r-test
1414
- os: linux
1515
env: COMPILER_NAME=clang CXX=clang++-3.8 CC=clang-3.8 COMMON_OS_NAME=${TRAVIS_OS_NAME}
1616
addons:
@@ -24,12 +24,19 @@ matrix:
2424
- os: osx
2525
osx_image: xcode11.3
2626
env: CC=clang && CXX=clang++ COMMON_OS_NAME=darwin
27+
- os: windows
28+
env: CMAKE_PATH="/c/Program Files/CMake/bin" COMMON_OS_NAME=${TRAVIS_OS_NAME}
29+
before_script:
30+
- export PATH=$CMAKE_PATH:$PATH
2731

2832
before_install:
2933
- echo $LANG
3034
- echo $LC_ALL
3135
- $CXX --version
3236

37+
install:
38+
- pip install --upgrade setuptools
39+
3340
script:
3441
# - rvm get head # Workaround 'shell_session_update: command not found'
3542
- set -e
@@ -50,7 +57,7 @@ deploy:
5057
on:
5158
tags: true
5259
# no point deploying the images built with both compilers
53-
condition: $CC =~ gcc
60+
condition: $CC =~ gcc || $COMMON_OS_NAME == "windows"
5461

5562
branches:
5663
only:

0 commit comments

Comments
 (0)