-
Notifications
You must be signed in to change notification settings - Fork 89
/
Copy path.travis.yml
58 lines (53 loc) · 1.52 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
sudo: required
dist: xenial
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