-
Notifications
You must be signed in to change notification settings - Fork 8
/
.travis.yml
40 lines (38 loc) · 1.23 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
language: shell
os: linux
dist: focal
jobs:
include:
- stage: Run luacheck
if: tag IS NOT present
addons:
apt:
packages:
- luarocks
before_install: sudo apt-get update
install:
- sudo apt-get install curl -y
- luarocks install --local luacheck
script: /home/travis/.luarocks/bin/luacheck . --no-color -q
- stage: Create Retail package
if: tag IS present
before_install: sudo apt-get update
install:
- sudo apt-get install curl -y
script: curl -s https://raw.githubusercontent.com/BigWigsMods/packager/master/release.sh | bash -s -- -g retail
- stage: Create Classic package
if: tag IS present
before_install: sudo apt-get update
install:
- sudo apt-get install curl -y
script: curl -s https://raw.githubusercontent.com/BigWigsMods/packager/master/release.sh | bash -s -- -g classic
- stage: Create BC package
if: tag IS present
before_install: sudo apt-get update
install:
- sudo apt-get install curl -y
script: curl -s https://raw.githubusercontent.com/BigWigsMods/packager/master/release.sh | bash -s -- -g bcc
notifications:
email:
on_success: never
on_failure: always