forked from HaxeFoundation/intellij-haxe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (35 loc) · 836 Bytes
/
.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
sudo: required
language: java
install:
- true
env:
- IDEA_VERSION=2016.3.7
- IDEA_VERSION=2017.1.5
- IDEA_VERSION=2017.2.6
- IDEA_VERSION=2017.3.4
- IDEA_VERSION=2018.1
os:
- linux
- osx
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 BuildPlugin -PgenerateHxcppDebugger=true -PtargetVersion=$IDEA_VERSION
- ./gradlew clean test -PgenerateHxcppDebugger=true -PtargetVersion=$IDEA_VERSION
notifications:
email: false