-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml.bak
55 lines (44 loc) · 1.74 KB
/
.travis.yml.bak
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
44
45
46
47
48
49
50
51
52
53
54
language: php
dist: trusty
cache:
directories:
- vendor
- $HOME/.composer/cache
php:
- 7.2
- 7.3
- 7.4
before_install:
- npm install -g [email protected]
before_script:
- npm install -g grunt-cli
- npm install
- mkdir -p dist/js
- gem update --system && gem install scss_lint
install:
- composer self-update
- composer install --prefer-dist --no-interaction
- composer require phpunit/phpunit
- if [[ $TRAVIS_PHP_VERSION > '7.1' ]]; then wget -O ~/.phpenv/versions/$(phpenv version-name)/bin/phpunit https://phar.phpunit.de/phpunit-7.phar; fi
- if [[ $TRAVIS_PHP_VERSION > '7.1' ]]; then chmod 755 ~/.phpenv/versions/$(phpenv version-name)/bin/phpunit; fi
- XDEBUG_MODE=coverage ./vendor/bin/phpunit --coverage-text
script:
- ./vendor/bin/phpunit
- grunt build
- npm test
- npm run coverage
after_success:
- grunt deploy
- bash <(curl -s https://codecov.io/bash)
sudo: required
addons:
chrome: stable
deploy:
provider: releases
api_key:
secure: q/5L4w87ve2sbEgQOLqIHGrXqBBTV7hCFg8koh+RjovnBl/z6ZDucQMmI5SAf1GEVzh30XXhYvVnpO6DQ0vJw99TESiIFyECW45lswHzW40bZ9jqgm969Xtrw97ifdZLWMmRxQp9q/OgYejPA1UpYLKNJTWJ9ddcl9BTWPRImdYAM//mVbImp7GnKWZlX1MLow443J4d/uWeW9kOmqUCp5gTmGJGHe4inTq+ooFuL5ceSaq26J7yAvQuzP1BYdwSV7yphVrP+jmfd3enayxQJrozcZ618bHscYy1Fa6r3ruM1s9vR7FQ5vDmR9SiEpikjDQ8TqCI5z64LI9x0MGB81ivb8o3z+hD7lFacSqUNjoBvytKAEKVc+//8EvQU07Rlw2N0yp31aBfByZyH5ZKQ4NkmLdMeeLrzo+FmlFX/3g7M0ah2X9TJJ4Qr1h7XTOyuqrVwx67AbSCXdg8+45+M+VONIy9+Yjj9NCwvNEtDbNCU/F0Hfb+0cX2YdCjY6eDmIGRUEylxj7OUrcZQ88vYZow6WidCEfNQTaqsn6cL+wg1gPT/KjxkL2c7YMHVRO64AADa0ppMBqgza1EWpRXsmuhCQSF2pkOeX7aqJ3CR5YEJYCZ4dn94aSyeBipny5DH1MWgeP3hAKf32iOtuGk0wFN/nllTqASLK3nrg6nmPU=
file: pulsar.zip
skip_cleanup: true
on:
tags: true
all_branches: true