forked from qdequippe/friendsofphp-org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (32 loc) · 856 Bytes
/
.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
language: php
php: 7.2
before_install:
# configure timezone: https://stackoverflow.com/a/27052708/1348344
- date
- export TZ=Europe/Prague
- date
install:
- composer update
script:
- vendor/bin/phpunit
# run from time to time
# - bin/console crawl
# code analysis
- composer check-cs
- composer phpstan
# make sure there are no duplicates
- bin/console validate-groups
# import data
- bin/console import
# generate website to "/output" directory, it will be deployed later in "deploy" + imports groups and meetups
- vendor/bin/statie generate source -vvv
# see docs: https://www.statie.org/docs/github-pages/
deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
on:
branch: master
local_dir: output
notifications:
email: false