-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
31 lines (26 loc) · 1.07 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
language: java
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
before_install:
- sudo add-apt-repository ppa:mmk2410/intellij-idea -y
- sudo apt-get update -q
- sudo apt-get install intellij-idea-community -y
- sudo apt-get install groovy -y
install:
- ./gradlew assemble
# - wget https://github.com/bentolor/idea-cli-inspector/archive/master.zip
# - unzip master.zip
- sudo chmod -R aog+w /opt/intellij-idea-community/bin
script:
- ./gradlew check
# Copy idea configuration template (mostly .IntelliJIdea2018.1/config/options/jdk.table.xml)
- cp -r ./tools/idea-cli-inspector/root/.IntelliJIdea2018.1 /home/travis/
# Duplicate for community config dir
- cp -r ./tools/idea-cli-inspector/root/.IntelliJIdea2018.1 /home/travis/.IdeaIC2018.1
#- ./idea-cli-inspector-master/ideainspect.groovy -i /opt/intellij-idea-community
- ./tools/idea-cli-inspector/ideainspect.groovy -i /opt/intellij-idea-community