File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change 9
9
- os : linux
10
10
dist : trusty
11
11
python : " 3.6"
12
+ - os : windows
13
+ language : shell
12
14
13
15
addons :
14
16
apt :
@@ -18,8 +20,17 @@ addons:
18
20
19
21
before_install :
20
22
- if [[ $TRAVIS_OS_NAME == 'osx' ]]; then export PATH="$HOME/Library/Python/3.6/bin:$PATH"; fi
21
- - pip3 install --user setuptools --upgrade
22
- - pip3 install --user vim-vint typing
23
+ - if [[ "$TRAVIS_OS_NAME" != "windows" ]]; then
24
+ pip3 install --user setuptools --upgrade;
25
+ pip3 install --user vim-vint typing;
26
+ elif [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
27
+ powershell -Command "Set-ExecutionPolicy RemoteSigned -scope CurrentUser";
28
+ powershell -Command "iex (new-object net.webclient).downloadstring('https://get.scoop.sh')";
29
+ export PATH="$HOME/scoop/shims:$PATH;";
30
+ export PATH="$APPDATA/Python/Python37/Scripts:$PATH;";
31
+ powershell -Command "scoop install python";
32
+ python3 -m pip install --user vim-vint typing;
33
+ fi
23
34
24
35
before_script :
25
36
- uname -a
You can’t perform that action at this time.
0 commit comments