mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-02-22 22:25:41 +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
|
||||
install: true # remove default
|
||||
script:
|
||||
- mvn -q clean install
|
||||
- mvn -q clean install -Pno-network
|
||||
- jdk_switcher use openjdk6
|
||||
- cd orchid
|
||||
- mvn -q clean package
|
||||
- cd ../core
|
||||
- mvn -q clean package
|
||||
- mvn -q clean package -Pno-network
|
||||
|
||||
after_success:
|
||||
- cd ../core
|
||||
|
|
17
core/pom.xml
17
core/pom.xml
|
@ -91,6 +91,23 @@
|
|||
</plugins>
|
||||
</build>
|
||||
</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>
|
||||
|
||||
<build>
|
||||
|
|
Loading…
Add table
Reference in a new issue