Skip to content

Commit

Permalink
re-add windows travis ci
Browse files Browse the repository at this point in the history
  • Loading branch information
fffonion committed Aug 4, 2019
1 parent bc3694f commit dc4cf86
Showing 1 changed file with 44 additions and 9 deletions.
53 changes: 44 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit dc4cf86

Please sign in to comment.