Skip to content

Commit 0c763c9

Browse files
committed
🆕 Add TravisCI config
1 parent b15aa36 commit 0c763c9

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.travis.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
language: php
2+
3+
php:
4+
- 7.1
5+
6+
node_js: '8'
7+
8+
cache:
9+
- yarn
10+
- composer
11+
12+
env:
13+
matrix:
14+
- BUILD_DOCS=false
15+
16+
matrix:
17+
fast_finish: false
18+
include:
19+
- php: 7.2
20+
env: BUILD_DOCS=true
21+
22+
before_install:
23+
# Setup Git
24+
- git config --global user.email "deploy@travis-ci.org"
25+
- git config --global user.name "Travis CI Bot"
26+
27+
# Install/update Yarn
28+
- curl -o- -L https://yarnpkg.com/install.sh | bash
29+
- export PATH=$HOME/.yarn/bin:$PATH
30+
31+
before_script:
32+
- composer self-update
33+
- composer install --no-interaction
34+
- yarn
35+
36+
script:
37+
- composer build:api
38+
- yarn docs:build

0 commit comments

Comments
 (0)