forked from scoder/lupa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
79 lines (71 loc) · 1.85 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
os: linux
dist: trusty
sudo: false
language: python
python:
- 3.6
- 2.7
- 3.5
- 3.4
addons:
apt:
packages:
- libluajit-5.1-dev
- liblua5.2-dev
env:
global:
- CFLAGS="$CFLAGS -g"
matrix:
- LUA=luajit-5.1
- LUA=lua5.2
- LUA=bundle
matrix:
include:
- python: 3.7
dist: xenial # Required for Python 3.7
sudo: required # travis-ci/travis-ci#9069
env: LUA=luajit-5.1
- python: 3.7
dist: xenial # Required for Python 3.7
sudo: required # travis-ci/travis-ci#9069
env: LUA=lua5.2
- python: 3.7
dist: xenial # Required for Python 3.7
sudo: required # travis-ci/travis-ci#9069
env: LUA=bundle
- python: 3.8-dev
dist: xenial # Required for Python 3.7
sudo: required # travis-ci/travis-ci#9069
env: LUA=luajit-5.1
- python: 3.8-dev
dist: xenial # Required for Python 3.7
sudo: required # travis-ci/travis-ci#9069
env: LUA=lua5.2
- python: 3.8-dev
dist: xenial # Required for Python 3.7
sudo: required # travis-ci/travis-ci#9069
env: LUA=bundle
- python: pypy
env: LUA=luajit-5.1
- python: pypy
env: LUA=lua5.2
- python: pypy
env: LUA=bundle
- python: pypy3
env: LUA=luajit-5.1
- python: pypy3
env: LUA=lua5.2
- python: pypy3
env: LUA=bundle
allow_failures:
- python: 3.8-dev
- python: pypy
- python: pypy3
cache: pip
# requirements.txt are automatically installed during 'install' phase.
before_script:
- pip install -U tox-travis virtualenv
- if [[ "$LUA" == "lua5.2" ]]; then export SETUP_OPTIONS="--no-luajit" ; fi
- if [[ "$LUA" == "bundle" ]]; then export SETUP_OPTIONS="--use-bundle" ; fi
- if [[ "$LUA" == "bundle" ]]; then export CFLAGS="$CFLAGS -flto" ; export LDFLAGS="$LDFLAGS -flto" ; fi
script: tox