Skip to content

Commit

Permalink
Add scala-js support
Browse files Browse the repository at this point in the history
  • Loading branch information
Alistair-Johnson committed Aug 2, 2015
1 parent d56f6df commit 2330511
Show file tree
Hide file tree
Showing 168 changed files with 357 additions and 184 deletions.
12 changes: 12 additions & 0 deletions .jvmopts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# see https://weblogs.java.net/blog/kcpeppe/archive/2013/12/11/case-study-jvm-hotspot-flags
-Dfile.encoding=UTF8
-Xms1G
-Xmx3G
-XX:MaxPermSize=512M
-XX:ReservedCodeCacheSize=250M
-XX:+TieredCompilation
-XX:-UseGCOverheadLimit
# effectively adds GC to Perm space
-XX:+CMSClassUnloadingEnabled
# must be enabled for CMSClassUnloadingEnabled to work
-XX:+UseConcMarkSweepGC
16 changes: 9 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@ language: scala
scala:
# https://github.com/non/spire/pull/413#issuecomment-89896773
- 2.10.2
- 2.11.6
- 2.11.7
script:
- if [[ "$TRAVIS_SCALA_VERSION" == "2.10.2"
]]; then
sbt ++$TRAVIS_SCALA_VERSION validate ;
else
sbt ++$TRAVIS_SCALA_VERSION coverage validate coverageReport && bash <(curl -s https://codecov.io/bash) ;
fi
- if [[ "$TRAVIS_PULL_REQUEST" == "false" &&
"$TRAVIS_BRANCH" == "master" &&
$(cat version.sbt) =~ "-SNAPSHOT"
]]; then
sbt ++$TRAVIS_SCALA_VERSION coverage validateJVM coverageReport && bash <(curl -s https://codecov.io/bash) && sbt clean validateJVM validateJS publish gitSnapshots publish ;
else
sbt ++$TRAVIS_SCALA_VERSION coverage validateJVM coverageReport && bash <(curl -s https://codecov.io/bash) && sbt clean validateJVM validateJS publishLocal ;
fi
notifications:
irc:
channels:
Expand Down
Loading

0 comments on commit 2330511

Please sign in to comment.