vscode-php-intellisense/.travis.yml

42 lines
606 B
YAML
Raw Normal View History

2016-09-04 11:58:06 +00:00
language: php
2016-08-25 15:55:00 +00:00
2016-09-04 11:58:06 +00:00
php:
2017-06-14 09:59:45 +00:00
- '7.0'
2016-08-25 15:55:00 +00:00
2016-10-12 07:54:25 +00:00
cache:
directories:
2017-06-14 09:59:45 +00:00
- $HOME/.npm
- $HOME/.composer/cache
2016-10-12 07:54:25 +00:00
2017-11-28 17:35:02 +00:00
before_install:
- nvm install 8
- nvm use 8
2016-08-25 15:55:00 +00:00
install:
2017-11-28 17:35:02 +00:00
- npm install
2016-08-25 15:55:00 +00:00
script:
2017-06-14 09:59:45 +00:00
- npm run lint
2017-08-22 05:53:20 +00:00
- npm run build
2016-09-04 11:56:59 +00:00
2017-11-23 00:46:18 +00:00
jobs:
include:
2017-11-28 17:29:44 +00:00
- stage: test
2017-11-23 00:46:18 +00:00
- stage: release
php: '7.0'
install:
- npm install
2017-11-28 17:35:02 +00:00
- composer install --prefer-dist --no-interaction --optimize-autoloader
2017-11-23 00:46:18 +00:00
script:
- npm run build
2017-11-23 00:46:18 +00:00
- npm run semantic-release
stages:
- test
- name: release
if: branch = master AND type = push AND fork = false
2017-06-14 09:59:45 +00:00
2017-10-20 22:47:46 +00:00
branches:
2017-12-23 22:30:28 +00:00
only:
- master