forked from lpetrov/megalist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
58 lines (44 loc) · 1.48 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
# For more information about the configurations used
# in this file, please see the Travis CI documentation:
# http://docs.travis-ci.com
env:
global:
# The `secure` key contains three encrypted environment variables
# (GH_TOKEN, GH_USER_EMAIL and GH_USER_NAME), the values of which
# are used by the scripts that are automatically executed by Travis.
#
# Note: The `secure` key will only work for this repository, so if
# you create your own fork, you will need to generate your own key:
#
# travis encrypt -r "<username>/<repository>" \
# GH_TOKEN="<your_github_access_token>" \
# GH_USER_EMAIL="<your_email>" \
# GH_USER_NAME="<your_name>"
#
# To learn more about how to generate the:
#
# * `secure` key, see:
# http://docs.travis-ci.com/user/encryption-keys/
#
# * GitHub access token, see:
# https://help.github.com/articles/creating-an-access-token-for-command-line-use/
- secure: "#"
before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
before_script:
- npm install
script: make testci
after_success:
- |
# Automatically update the content from the `dist/` directory
$(npm bin)/commit-changes --branch "master" \
--commands "make all" \
--commit-message "Update content from the \`dist\` directory [skip ci]"
git:
depth: 10
language: node_js
node_js:
- "6"
- "7"
sudo: false