forked from kalessil/phpinspectionsea
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
41 lines (36 loc) · 2 KB
/
.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
41
notifications:
email: false
matrix:
include:
- env: IDEA_VERSION="IU-2019.1" PHP_PLUGIN_VERSION="191.6183.95" PSI_VIEWER_PLUGIN_VERSION="191.4212"
- env: IDEA_VERSION="IU-2018.3.4" PHP_PLUGIN_VERSION="183.5429.47" PSI_VIEWER_PLUGIN_VERSION="183.2153"
- env: IDEA_VERSION="IU-2018.2.2" PHP_PLUGIN_VERSION="182.4129.45" PSI_VIEWER_PLUGIN_VERSION="182.2757.2"
- env: IDEA_VERSION="IU-2018.1.5" PHP_PLUGIN_VERSION="181.5281.35" PSI_VIEWER_PLUGIN_VERSION="2018.1.2"
- env: IDEA_VERSION="IU-2017.3.5" PHP_PLUGIN_VERSION="173.4674.46" PSI_VIEWER_PLUGIN_VERSION="3.28.93"
- env: IDEA_VERSION="IU-2017.2.7" PHP_PLUGIN_VERSION="172.4155.41" PSI_VIEWER_PLUGIN_VERSION="3.28.93"
- env: IDEA_VERSION="IU-2017.1.6" PHP_PLUGIN_VERSION="171.4694.2" PSI_VIEWER_PLUGIN_VERSION="3.28.93"
- env: IDEA_VERSION="IU-2016.3.6" PHP_PLUGIN_VERSION="163.10504.2" PSI_VIEWER_PLUGIN_VERSION="3.28.93"
- env: IDEA_VERSION="IU-2016.2.5" PHP_PLUGIN_VERSION="162.1628.23" PSI_VIEWER_PLUGIN_VERSION="3.28.93"
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
- rm -fr $HOME/.gradle/caches/*/fileHashes/fileHashes.bin
- rm -fr $HOME/.gradle/caches/*/fileHashes/fileHashes.lock
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
before_install:
- sudo add-apt-repository ppa:linuxuprising/java && sudo apt update
- echo oracle-java11-installer shared/accepted-oracle-license-v1-2 select true | sudo /usr/bin/debconf-set-selections
- sudo apt install -y oracle-java11-set-default php-cli
- java -version && php -v
- chmod +x gradlew
- "export ORG_GRADLE_PROJECT_ideaVersion=${IDEA_VERSION}"
- "export ORG_GRADLE_PROJECT_phpPluginVersion=${PHP_PLUGIN_VERSION}"
- "export ORG_GRADLE_PROJECT_psiViewerPluginVersion=${PSI_VIEWER_PLUGIN_VERSION}"
script:
- php .travis/rules-list-check.php
- php .travis/orphaned-fixtures-check.php
- php .travis/fixer-verifies-disposed-project-check.php
- ./gradlew check buildPlugin