-
Notifications
You must be signed in to change notification settings - Fork 118
/
.travis.yml
44 lines (37 loc) · 1.23 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
42
43
44
dist: trusty
language: java
addons:
apt_packages:
- php5-cli
notifications:
email: false
matrix:
include:
- env: IDEA_VERSION="IU-2023.1" PHP_PLUGIN_VERSION="223.8836.39"
jdk: oraclejdk17
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:
- java -version && php -v
- chmod +x gradlew
- "export ORG_GRADLE_PROJECT_ideaVersion=${IDEA_VERSION}"
- "export ORG_GRADLE_PROJECT_phpPluginVersion=${PHP_PLUGIN_VERSION}"
script:
- php .travis/rules-list-check.php
- php .travis/orphaned-fixtures-check.php
- php .travis/fixer-verifies-disposed-project-check.php
- php .travis/get-project-traverse-free-check.php
- php .travis/verify-visitors-stubs.php
- php .travis/verify-visitors-definitions.php
- php .travis/verify-messages-prefixing.php
- php .travis/verify-qickfix-title-prefixing.php
- php .travis/verify-discovered-values-cleanup.php
- php .travis/fix-short-and-display-names.php
- ./gradlew check buildPlugin