Skip to content

Commit efb1cbc

Browse files
committed
Merge pull request msgpack#186 from xuwei-k/travis-settings
improve travis settings
2 parents f69086c + eefe4a2 commit efb1cbc

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

.travis.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ language: scala
22
scala:
33
- 2.11.1
44

5+
sudo: false
6+
57
jdk:
68
- openjdk6
79
- openjdk7
@@ -12,7 +14,14 @@ branches:
1214
only:
1315
- /^v07.*$/
1416

15-
script: sbt ++$TRAVIS_SCALA_VERSION test
17+
script:
18+
- sbt ++$TRAVIS_SCALA_VERSION test
19+
- find $HOME/.sbt -name "*.lock" | xargs rm
20+
- find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm
21+
22+
cache:
23+
directories:
24+
- $HOME/.ivy2/cache
1625

1726
notifications:
1827
email:

msgpack-core/src/test/scala/org/msgpack/core/MessageUnpackerTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ class MessageUnpackerTest extends MessagePackSpec {
553553
val mb = MessageBuffer.wrap(arr)
554554

555555
val N = 1000
556-
val t = time("unpacker", repeat = 10) {
556+
val t = time("unpacker", repeat = 30) {
557557
block("no-buffer-reset") {
558558
IOUtil.withResource(msgpack.newUnpacker(arr)) { unpacker =>
559559
for (i <- 0 until N) {

0 commit comments

Comments
 (0)