forked from srijanone/ezcontent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
40 lines (33 loc) · 884 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
35
36
37
38
39
40
dist: trusty
language: php
cache:
bundler: true
directories:
- "$HOME/.composer/cache"
- "$HOME/.drush/cache"
php:
- 7.3
# safelist
branches:
only:
- 8.x
before_install:
- composer self-update
- composer --version
# Composer Configurations.
- export PATH="$HOME/.composer/vendor/bin:$TRAVIS_BUILD_DIR/bin:$PATH"
- export COMPOSER_EXIT_ON_PATCH_FAILURE=1
- export COMPOSER_MEMORY_LIMIT=-1
install:
- git checkout $TRAVIS_COMMIT
- composer install
script:
- cd profiles
- wget https://github.com/srijanone/ezcontent/archive/8.x.zip
- unzip 8.x.zip
- rm -rf 8.x.zip
- cd ..
- composer require dealerdirect/phpcodesniffer-composer-installer
- ./vendor/bin/phpcs --config-set installed_paths vendor/drupal/coder/coder_sniffer
- ./vendor/bin/phpcs --standard=Drupal profiles
- ./vendor/bin/phpcs --standard=DrupalPractice profiles