Skip to content
Permalink
Browse files

re-add windows travis ci

  • Loading branch information
fffonion committed Aug 3, 2019
1 parent bc3694f commit dc4cf864c8c811175255dbc23cdbc255fbf88ee8
Showing with 44 additions and 9 deletions.
  1. +44 −9 .travis.yml
@@ -1,22 +1,57 @@
os:
- linux

language: python
sudo: required
dist: xenial
python:
- 2.7
- 3.4
- 3.5
- 3.6
- 3.7

matrix:
include:
- os: linux
language: python
python: "2.7"
- os: linux
language: python
python: "3.5"
- os: linux
language: python
python: "3.6"
- os: linux
language: python
python: "3.7"
# https://chocolatey.org/packages/python2
# - os: windows
# language: sh
# python: "2.7"
# before_install:
# - choco install python2
# - export PATH="/c/Python26:/c/Python27/Scripts:$PATH"
# - wget https://bootstrap.pypa.io/get-pip.py
# - python ./get-pip.py
# https://chocolatey.org/packages/python/3.7.4
- os: windows
language: sh
python: "3.5"
before_install:
- choco install python --version 3.5.4
- export PATH="/c/Python35:/c/Python35/Scripts:$PATH"
- os: windows
language: sh
python: "3.6"
before_install:
- choco install python --version 3.6.8
- export PATH="/c/Python36:/c/Python36/Scripts:$PATH"
- os: windows
language: sh
python: "3.7"
before_install:
- choco install python --version 3.7.4
- export PATH="/c/Python37:/c/Python37/Scripts:$PATH"

install:
- python setup.py install

script:
- xeH --help
- xeH $TEST_URL_E --dir test1
# nested env currently have no effect on windows
- LANG=zh_CN.utf-8 LC_ALL=zh_CN.utf-8 xeH $TEST_URL_E --dir test1
- LANG=zh_TW.utf-8 LC_ALL=zh_TW.utf-8 xeH $TEST_URL_E --dir test1
- xeH $TEST_URL_E --dir test1 --archive true

0 comments on commit dc4cf86

Please sign in to comment.
You can’t perform that action at this time.