mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-02-23 14:40:40 +01:00
Make Travis not run any tests that involve accessing the network.
This commit is contained in:
parent
551d01a625
commit
5c2eaf2654
2 changed files with 19 additions and 2 deletions
|
@ -4,12 +4,12 @@ language: java
|
||||||
jdk: oraclejdk8
|
jdk: oraclejdk8
|
||||||
install: true # remove default
|
install: true # remove default
|
||||||
script:
|
script:
|
||||||
- mvn -q clean install
|
- mvn -q clean install -Pno-network
|
||||||
- jdk_switcher use openjdk6
|
- jdk_switcher use openjdk6
|
||||||
- cd orchid
|
- cd orchid
|
||||||
- mvn -q clean package
|
- mvn -q clean package
|
||||||
- cd ../core
|
- cd ../core
|
||||||
- mvn -q clean package
|
- mvn -q clean package -Pno-network
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- cd ../core
|
- cd ../core
|
||||||
|
|
17
core/pom.xml
17
core/pom.xml
|
@ -91,6 +91,23 @@
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</profile>
|
</profile>
|
||||||
|
<profile>
|
||||||
|
<id>no-network</id>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<excludes>
|
||||||
|
<exclude>**/core/PeerTest.java</exclude>
|
||||||
|
<exclude>**/core/TransactionBroadcastTest.java</exclude>
|
||||||
|
</excludes>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
|
Loading…
Add table
Reference in a new issue