forked from HaxeFoundation/intellij-haxe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
72 lines (64 loc) · 1.9 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
language: java
install:
- true
# We had to remove the matrix and list the builds by hand because Travis
# changed how blank dashes in a key were used (caused errors, but empty
# strings worked better), and osx will fail to parse this file if a mac
# target has a jdk entry.
jobs:
include:
- os: osx
osx_image: xcode9.3
env: IDEA_VERSION=2020.2
- os: linux
env: IDEA_VERSION=2020.2
jdk: openjdk8
- os: linux
env: IDEA_VERSION=2020.1.4
jdk: openjdk8
- os: linux
env: IDEA_VERSION=2019.3.5
jdk: openjdk8
# - os: linux
# env: IDEA_VERSION=2019.2.4
# jdk: openjdk8
# - os: linux
# env: IDEA_VERSION=2019.1.4
# jdk: openjdk8
- os: linux
env: IDEA_VERSION=2018.2.8
jdk: openjdk8
- os: linux
env: IDEA_VERSION=2017.3.5
jdk: openjdk8
- os: linux
env: IDEA_VERSION=2016.3.8
jdk: openjdk8
# Build and push the nightly (EAP) version.
- if: branch = develop AND type = push
script: make
env:
- IDEA_VERSION=2018.1.6 PLUGIN_VERSION=18 DEV_BUILD=.dev.${TRAVIS_COMMIT::7}
after_success:
- curl -k -i -F "userName=$PLUGIN_USER_NAME" -F "password=$PLUGIN_USER_PASS" -F channel=EAP -F pluginId=6873 -F "file=@intellij-haxe-$PLUGIN_VERSION.jar" https://plugins.jetbrains.com/plugin/uploadPlugin
before_script: |
#Linux
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
sudo apt-get -qq update
sudo add-apt-repository ppa:haxe/releases -y
sudo apt-get update
sudo apt-get install haxe -y
mkdir ~/haxelib
haxelib setup ~/haxelib
fi
#OSX
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew update
brew install haxe
mkdir ~/haxelib
haxelib setup ~/haxelib
fi
script:
- ./gradlew clean Build verifyPlugin -PgenerateHxcppDebugger=false -PtargetVersion=$IDEA_VERSION -PdevBuild=$DEV_BUILD
notifications:
email: false