Skip to content

Commit

Permalink
Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
jamo committed Oct 26, 2015
1 parent 4eb5424 commit c3f9c55
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 12 deletions.
30 changes: 23 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,30 @@
sudo: false
cache:
directories:
- $HOME/.m2
language: java
jdk:
- oraclejdk8
- oraclejdk7
- openjdk7
- openjdk6

before_install:
- ./before_install.sh
- git clone https://github.com/rage/tmc-langs.git
- mvn clean install -q -U -Dmaven.test.skip=true -f tmc-langs/pom.xml
- git clone https://github.com/rage/tmc-core.git
- mvn clean install -q -U -Dmaven.test.skip=true -f tmc-core/pom.xml

cache:
directories:
- $HOME/.m2

before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
- wget http://download.netbeans.org/netbeans/8.0.2/final/zip/netbeans-8.0.2-201411181905.zip -O netbeans.zip
- unzip -q netbeans.zip
- mvn -q dependency:get -Dartifact=junit:junit:4.8.2 -DrepoUrl=http://repo1.maven.org/maven2/
# To reduce amout of log
- cd maven-wrapper/ && mvn -q install && cd ..

script:
- mvn clean test
- mvn verify
- ant -Dcontinue.after.failing.tests=true -Dnbplatform.nb802.netbeans.dest.dir=$PWD/netbeans -Dnbplatform.nb802.harness.dir=$PWD/netbeans/harness test

3 changes: 3 additions & 0 deletions README.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Test My Code NetBeans plugin #

[![Build
Status](https://travis-ci.org/testmycode/tmc-netbeans.svg?branch=core_integration)](https://travis-ci.org/testmycode/tmc-netbeans)

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.

## Developer setup ##
Expand Down
5 changes: 0 additions & 5 deletions before_install.sh

This file was deleted.

0 comments on commit c3f9c55

Please sign in to comment.