-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
59 lines (50 loc) · 1.39 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
language: python
sudo: false
env:
- LUA="5.3.1" EE_BRANCH="master" LE_BRANCH="master"
before_install:
- pip install hererocks
- hererocks lua_install -rlatest -l${LUA}
- export PATH=$PATH:$PWD/lua_install/bin # Add directory with all installed binaries to PATH
- gem install bundler
install:
# - luarocks install luacheck
- luarocks install busted
# - luarocks install luacov-coveralls
- git clone --depth 1 --branch $LE_BRANCH https://github.com/czenker/lively-epsilon.git lively_epsilon
- wget "https://raw.githubusercontent.com/daid/EmptyEpsilon/${EE_BRANCH}/scripts/utils.lua" -O utils.lua
- bundle install --gemfile=docs/Gemfile
script:
# - luacheck --no-unused-args --std max+busted *.lua spec
- cd $TRAVIS_BUILD_DIR
- busted
- cd $TRAVIS_BUILD_DIR/docs
- rake
- cd $TRAVIS_BUILD_DIR
- ./create_release.sh
after_success:
# - luacov-coveralls --exclude $TRAVIS_BUILD_DIR/lua_install
# - bash <(curl -s https://codecov.io/bash)
branches:
except:
- gh-pages
notifications:
email:
on_success: change
on_failure: always
deploy:
- provider: pages
skip-cleanup: true
local-dir: docs/_build/
target-branch: gh-pages
keep-history: false
github-token: $GITHUB_TOKEN
on:
branch: 1.2
- provider: releases
api_key: $GITHUB_TOKEN
file_glob: true
file: "lively-epsilon-missions-*"
skip_cleanup: true
on:
tags: true