Skip to content

Commit

Permalink
Migrate to gradle based build (#1005)
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricziel authored and kalessil committed Aug 31, 2018
1 parent 2f8f766 commit 86fe8de
Show file tree
Hide file tree
Showing 591 changed files with 906 additions and 846 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@
PhpInspectionsEA.iml
out/
.vagrant
/build
/.gradle
/.idea
1 change: 0 additions & 1 deletion .idea/.name

This file was deleted.

23 changes: 0 additions & 23 deletions .idea/compiler.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/encodings.xml

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/modules.xml

This file was deleted.

2 changes: 1 addition & 1 deletion .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 33 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,46 @@ addons:

matrix:
include:
- jdk: oraclejdk9
env: IDE_ID=IU-2018.2
- jdk: oraclejdk9
env: IDE_ID=IU-2018.1
- jdk: oraclejdk8
env: IDE_ID=IU-2017.3
env: IDEA_VERSION="IU-2018.2.2" PHP_PLUGIN_VERSION="182.4129.45" PSI_VIEWER_PLUGIN_VERSION="182.2757.2" SINCE_BUILD="182" UNTIL_BUILD="182.*"

- jdk: oraclejdk8
env: IDE_ID=IU-2017.2
env: IDEA_VERSION="IU-2018.1.5" PHP_PLUGIN_VERSION="181.5281.35" PSI_VIEWER_PLUGIN_VERSION="2018.1.2" SINCE_BUILD="181" UNTIL_BUILD="181.*"

- jdk: oraclejdk8
env: IDE_ID=IU-2017.1
env: IDEA_VERSION="IU-2017.3.5" PHP_PLUGIN_VERSION="173.4674.46" PSI_VIEWER_PLUGIN_VERSION="3.28.93" SINCE_BUILD="173" UNTIL_BUILD="173.*"

- jdk: oraclejdk8
env: IDE_ID=IU-2016.3
env: IDEA_VERSION="IU-2017.2.7" PHP_PLUGIN_VERSION="172.4155.41" PSI_VIEWER_PLUGIN_VERSION="3.28.93" SINCE_BUILD="172" UNTIL_BUILD="172.*"

- jdk: oraclejdk8
env: IDE_ID=IU-2016.2
env: IDEA_VERSION="IU-2017.1.6" PHP_PLUGIN_VERSION="171.4694.2" PSI_VIEWER_PLUGIN_VERSION="3.28.93" SINCE_BUILD="171" UNTIL_BUILD="171.*"

script: ".travis/build.sh"
- jdk: oraclejdk8
env: IDEA_VERSION="IU-2016.3.6" PHP_PLUGIN_VERSION="163.10504.2" PSI_VIEWER_PLUGIN_VERSION="3.28.93" SINCE_BUILD="163" UNTIL_BUILD="163.*"

- jdk: oraclejdk8
env: IDEA_VERSION="IU-2016.2.5" PHP_PLUGIN_VERSION="162.1628.23" PSI_VIEWER_PLUGIN_VERSION="3.28.93" SINCE_BUILD="162" UNTIL_BUILD="162.*"

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:
- .travis/.cache
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/

before_install:
- "export ORG_GRADLE_PROJECT_ideaVersion=${IDEA_VERSION}"
- "export ORG_GRADLE_PROJECT_phpPluginVersion=${PHP_PLUGIN_VERSION}"
- "export ORG_GRADLE_PROJECT_psiViewerPluginVersion=${PSI_VIEWER_PLUGIN_VERSION}"
- "export ORG_GRADLE_PROJECT_customSinceBuild=${SINCE_BUILD}"
- "export ORG_GRADLE_PROJECT_customUntilBuild=${UNTIL_BUILD}"
- java -version

before_script:
- chmod +x .travis/build.sh
script:
- php .travis/rules-list-check.php
- ./gradlew check buildPlugin
203 changes: 0 additions & 203 deletions .travis/ant-build.xml

This file was deleted.

Loading

0 comments on commit 86fe8de

Please sign in to comment.