-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
41 lines (41 loc) · 1.45 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
language: php
dist: trusty
cache:
directories:
- "$HOME/.composer/cache/files"
php:
- 7.1
- 7.2
- 7.3
- nightly
matrix:
fast_finish: true
allow_failures:
- php: nightly
before_install:
- sudo apt-get update
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
before_script:
- travis_retry composer update --no-interaction
- mkdir -p cache
script:
- vendor/bin/phpcs -p --warning-severity=0 --cache=cache/phpcs --parallel=10 PHP/ examples/
- make lint-md
stages:
- test
- name: deploy
if: branch = main
jobs:
include:
- stage: deploy
script: make docs-build
deploy:
provider: pages
local-dir: site
skip-cleanup: true
keep-history: true
verbose: true
github-token:
secure: "aRi9tgh37tUAsnCgneeR7c00LJ6TLt6tSD/tS8d+y7MIMl+vPxTZetJQJmQ/8GO66yo5W/2PZnq1ecSA4G0R4u55r8TCNLyYDEn3z8Kyk0leNql0bQVZPhoFL8IINHQSgRhHVoxydiCO6+ZiupdFcNYO2A9QM6rJM/pUnjs2boihZODjN6hojCA7lE3wpOGyUIHk/FywF0y+0yPl9MumoTaEexz3Q5mIKQxQK+RiDcB+vKnT73+j30lx9S/wSnLk1GaOCcH+9ocQejhjAsCIuLSF+bdnBNH0iaRQnr48ARj91XIArLPPNv9hijQU9Sn0qmmceWzKaC8t/Un8hUQ55u8oVEtLmaFVcFZy/pxYEgSCIo1o5nW67afxOQyLS6rl8F4l13Ul4vllhZ3OjIhvkyWkP6I6S+P0qMgV/2ywupWAPDh6cr71Q6ktpFkBaaRaOs4hnbVuJcBy/E5cqkgQw6drco0FvutqXNAscU9pjvNrcNhtAVr4drUuPtFAk4exaJoVN5o0ZqjRD5lF3BAYyRvnivLE/sJ2iMjaSu58Aukppizsk+Lwog/So+LxCMwJok0B/teT+I8XlL44JNUbCXq0myrFOj62sd7RwF2PwXgs+dI/aDsTj96dMAkXbZtJOA1XVZREpqd5l0CoDd2oPTnr3u0UWblAal9cKnjCUNk="
on:
branch: main