-
-
Notifications
You must be signed in to change notification settings - Fork 99
Expand file tree
/
Copy path.travis.yml
More file actions
27 lines (26 loc) · 704 Bytes
/
.travis.yml
File metadata and controls
27 lines (26 loc) · 704 Bytes
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
jobs:
include:
- stage: test
language: php
php:
- 7.3
install:
- composer install
script:
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
- stage: docs
language: node_js
node_js:
- lts/*
install:
- yarn install # npm ci
script:
- yarn docs:build # npm run docs:build
deploy:
provider: pages
skip_cleanup: true
local_dir: docs/.vuepress/dist
github_token: $GITHUB_TOKEN # A token generated on GitHub allowing Travis to push code on you repository. Set in the Travis settings page of your repository, as a secure variable
keep_history: true
on:
branch: master