forked from shopware5/devdocs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (27 loc) · 784 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
language: php
php:
- 7.1
sudo: false
cache:
directories:
- $HOME/.composer/cache
before_script:
- if [[ $TRAVIS_PULL_REQUEST == 'false' && $TRAVIS_BRANCH == 'master' ]]; then export SYMFONY__ALGOLIA_ENABLED="1"; fi;
- composer self-update
- composer install
script:
- ./vendor/bin/sculpin generate --env=prod --url="https://developers.shopware.com"
- ./contrib/package_plugins.sh
after_success:
- test $TRAVIS_PULL_REQUEST == "false" && test $TRAVIS_BRANCH == "master" && ./deploy.sh
deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
local_dir: output_prod
target_branch: gh-pages
fqdn: developers.shopware.com
name: shopwareBot
email: [email protected]
on:
branch: master