-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
54 lines (50 loc) · 1.51 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
language: python
sudo: false
dist: trusty
os:
- linux
env:
global:
secure: "ND2mG5TnWiovnMVZIM91I6acpobwYC294cFaML36h1IYKYedeLbMvoo7gSQPUhbiFpwe48M9wRxApNw9j31ikTtxtudNteU0ZG4OAHo6xccqt7NTdoe6KYaTx9nCq3xfbzv7EGfa8hx2V62aaPJBQ1ix7BSwtrVKbXMokjSfaEY="
matrix:
- VERSION="2.0" WHAT="--luajit"
- VERSION="2.1" WHAT="--luajit"
# - VERSION="2.0" WHAT="--luajit" COMPAT="--compat=5.2"
# - VERSION="2.1" WHAT="--luajit" COMPAT="--compat=5.2"
- VERSION="5.1" WHAT="--lua"
- VERSION="5.2" WHAT="--lua"
- VERSION="5.3" WHAT="--lua"
# - VERSION="5.2.0" WHAT="--lua"
# - VERSION="5.2.1" WHAT="--lua"
# - VERSION="5.2.2" WHAT="--lua"
# - VERSION="5.3.0" WHAT="--lua"
# - VERSION="5.3.1" WHAT="--lua"
# - VERSION="5.3.2" WHAT="--lua"
# - VERSION="5.3.3" WHAT="--lua"
# - VERSION="5.3.4" WHAT="--lua"
install:
- pip install hererocks
- hererocks --luarocks=^ ${WHAT}=${VERSION} ${COMPAT} ${HOME}/
- ${HOME}/bin/luarocks make rockspec/environment-master-1.rockspec
- ${HOME}/bin/luarocks make rockspec/c3-master-1.rockspec
script:
- ${HOME}/bin/luacheck src/
- ${HOME}/bin/busted src/
- ./upload.coveralls || true
jobs:
include:
- stage: deploy
script:
- ./upload.luarocks
notifications:
email:
on_success: never
on_failure: always
recipients:
webhooks:
on_success: always
on_failure: always
on_start: always
urls:
- https://webhooks.gitter.im/e/8bf8171afe6791da8c4b