-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
37 lines (35 loc) · 2.11 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
# curl -u [email protected] -d '{"scopes":["public_repo"],"note":"XXX token name XXX"}' https://api.github.com/authorizations
dist: focal
language: bash
sudo: false
install: true
addons:
apt:
packages:
- lua5.1
- luarocks
- npm
script: "[[ -n $TRAVIS_TAG ]] && ./build.sh web || ./build.sh" # web only for tags
deploy:
- provider: releases
skip_cleanup: true
api_key:
# travis encrypt <token>
secure: 2YJ2wzS9qRNrb2UMxsLlYoa6yR+h/9dWgMkLP9xUvy9tZ/Uheg5KKlrBESFd+Bz2hxjXgmoy5avEpmPLFyRF15nPW47QXbyIU0ambIALycU0cqPTzqu7uFjxSbPu7/AbT8p6jHnKpeGu3oYkDsxA3f0nRcZxJm9azcgSbMDQFlFZyVTZtCqMqVu7uVnFfbMw9EZRz6ldj/zd9TGnkECtnnx+hH2Xx3maozfsVXPJmZpRST+NfBbPqspOgPYNuxK7KKd4oBnpW3wKvMTFfnlpWmXhK9ahs/WGYfda8Xg262s25fqR/kTvnZWiVZaULL5M7Uax5xiIyU785scKJYrMkVATGss033pLhW9trXG874SHMWeozYnjemzACC0e0cLgBUpElR+M86u2R/zNA8ZHUwdrTf9TllEV6uV8yHkBxXK6ahl5ocyaYXSN/ezkzyeMstJeGLR6/TN3d3XLTfilEcsBOGJNNfACJtnnr5K7NcgyA2jVWUDF/NMyZlpQgU2TiW1SUwJG7rV5SaW0pXp1NCnH8v/HGqSzacEFzpsdhSPjqg6RGQ/SefhAZwD4COUdTzERfSJGs74xROPVKrMtmqQ56qIbhBWh6GQ0NzRTACw1wM2+skZKxekxc5xEjGZEdtgwedheaJISKSvFRbDZekZtX3+YCHOnTgMG/WYt52s=
file:
- target/enjoy.love
- target/enjoy-win.zip
- target/enjoy-web.zip
on:
tags: true
all_branches: true
- provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
on:
tags: true
all_branches: true
env:
global:
# travis encrypt GITHUB_TOKEN=<token>
- secure: "WEIj/OWqz0mGuAfFFETyu9zVZtlzXb2ACVukhG3kfR6G4ivJZEIkBBS1vHRZbQJ5uySFZBY5EWgy5cbirkUslM2ViArVVDNpxt7HY4hnz4no04MokTPfe6pRxpISYcy2gfsx6kKVh5t52CT3gLQV/P7NYj0j9x+q9MI1bsnx9gZqxcwFWBxQXfcpmzmykpVlvbfZCJYPx99xa5yej09DLKUtDcb9H+F/VyuT0qD4cjkJdgkG1vqFK5tRLKMqDCmil0zC9jro+EUIWJvLM0ytLZFkZTFcboNWnsTBSxO8KF0BiJkXMw03huAn4IVA2PQv/tt7bolMJUQZyNQwLJ3v/zsRr1S5Hdq+AvVvQSjphGL99Z2tHkoXhVvGcQbKWjh2JyWXLjxj07qM6NcmMZvJHhLyNwrd651STHqh0I3tIp8sDw48kxTv1d2pTfZJHm6apvKaOgpYa0SiiF71uECKcH8/BEq+LuCKouHgJfOVS/QNhMARybeMgPYYkw++jgzxPLbG+UXHbwlnTXc59+hfpYE954SCDV9r0KLDTh5X94USC2+U9ZaHoNIknBD33qej97HNOWWofO1/o/wXjZSyvW26S6jKY3XrI+sgd3ddzkVzKWwwbqANc9deQvGppKO9M86/1x3LVItmii/p8tRONjvF5ZpoLdpWZUYHERm5kEk="