Skip to content

Commit c3f9c55

Browse files
committed
Travis
1 parent 4eb5424 commit c3f9c55

File tree

3 files changed

+26
-12
lines changed

3 files changed

+26
-12
lines changed

.travis.yml

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,30 @@
11
sudo: false
2-
cache:
3-
directories:
4-
- $HOME/.m2
52
language: java
63
jdk:
4+
- oraclejdk8
75
- oraclejdk7
86
- openjdk7
9-
- openjdk6
7+
108
before_install:
11-
- ./before_install.sh
9+
- git clone https://github.com/rage/tmc-langs.git
10+
- mvn clean install -q -U -Dmaven.test.skip=true -f tmc-langs/pom.xml
11+
- git clone https://github.com/rage/tmc-core.git
12+
- mvn clean install -q -U -Dmaven.test.skip=true -f tmc-core/pom.xml
13+
14+
cache:
15+
directories:
16+
- $HOME/.m2
17+
18+
before_script:
19+
- "export DISPLAY=:99.0"
20+
- "sh -e /etc/init.d/xvfb start"
21+
- sleep 3 # give xvfb some time to start
22+
- wget http://download.netbeans.org/netbeans/8.0.2/final/zip/netbeans-8.0.2-201411181905.zip -O netbeans.zip
23+
- unzip -q netbeans.zip
24+
- mvn -q dependency:get -Dartifact=junit:junit:4.8.2 -DrepoUrl=http://repo1.maven.org/maven2/
25+
# To reduce amout of log
26+
- cd maven-wrapper/ && mvn -q install && cd ..
27+
1228
script:
13-
- mvn clean test
14-
- mvn verify
29+
- ant -Dcontinue.after.failing.tests=true -Dnbplatform.nb802.netbeans.dest.dir=$PWD/netbeans -Dnbplatform.nb802.harness.dir=$PWD/netbeans/harness test
30+

README.markdown

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Test My Code NetBeans plugin #
22

3+
[![Build
4+
Status](https://travis-ci.org/testmycode/tmc-netbeans.svg?branch=core_integration)](https://travis-ci.org/testmycode/tmc-netbeans)
5+
36
This is a NetBeans plugin for the [Test My Code server](https://github.com/testmycode/tmc-server). It allows downloading, testing and submitting exercises directly from the IDE.
47

58
## Developer setup ##

before_install.sh

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)