mirror of
https://github.com/psforever/PSF-LoginServer.git
synced 2026-01-19 18:44:45 +00:00
TravisCI: re-enable coverage, exclude WorldSessionActor
* Update badge to travis-ci.com * Add artifact upload to S3 testing for future CI based server deploys
This commit is contained in:
parent
6a0c2a6955
commit
bf21491859
12
.travis.yml
12
.travis.yml
|
|
@ -5,9 +5,8 @@ dist: trusty
|
||||||
scala:
|
scala:
|
||||||
- 2.11.8
|
- 2.11.8
|
||||||
env:
|
env:
|
||||||
- SBT_COMMAND="test:compile test"
|
- SBT_COMMAND="test:compile test packArchiveZip"
|
||||||
# TODO(chord): uncomment when WorldSessionActor is refactored
|
- SBT_COMMAND="coverage test:compile test coverageReport"
|
||||||
#- SBT_COMMAND="coverage test:compile test coverageReport"
|
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
|
|
@ -17,7 +16,7 @@ before_cache:
|
||||||
- rm -fv $HOME/.ivy2/.sbt.ivy.lock
|
- rm -fv $HOME/.ivy2/.sbt.ivy.lock
|
||||||
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -print -delete
|
- find $HOME/.ivy2/cache -name "ivydata-*.properties" -print -delete
|
||||||
- find $HOME/.sbt -name "*.lock" -print -delete
|
- find $HOME/.sbt -name "*.lock" -print -delete
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- wget https://github.com/psforever/PSCrypto/releases/download/v1.1/pscrypto-lib-1.1.zip
|
- wget https://github.com/psforever/PSCrypto/releases/download/v1.1/pscrypto-lib-1.1.zip
|
||||||
- unzip pscrypto-lib-1.1.zip
|
- unzip pscrypto-lib-1.1.zip
|
||||||
|
|
@ -25,3 +24,8 @@ script:
|
||||||
- sbt ++$TRAVIS_SCALA_VERSION $SBT_COMMAND
|
- sbt ++$TRAVIS_SCALA_VERSION $SBT_COMMAND
|
||||||
after_success:
|
after_success:
|
||||||
- bash <(curl -s https://codecov.io/bash)
|
- bash <(curl -s https://codecov.io/bash)
|
||||||
|
|
||||||
|
addons:
|
||||||
|
artifacts: true
|
||||||
|
paths:
|
||||||
|
- $(ls target/pslogin*.zip | tr "\n" ":")
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# PlanetSide Login Server [](https://travis-ci.org/psforever/PSF-LoginServer) [](https://codecov.io/gh/psforever/PSF-LoginServer/) [](https://psforever.github.io/docs/master/index.html)
|
# PlanetSide Login Server [](https://travis-ci.com/psforever/PSF-LoginServer) [](https://codecov.io/gh/psforever/PSF-LoginServer/) [](https://psforever.github.io/docs/master/index.html)
|
||||||
This project contains the code to run and manage the login and world server roles for PlanetSide 1.
|
This project contains the code to run and manage the login and world server roles for PlanetSide 1.
|
||||||
The login server and world server are currently combined for ease of contributing.
|
The login server and world server are currently combined for ease of contributing.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -64,7 +64,9 @@ lazy val pslogin = (project in file("pslogin")).
|
||||||
settings(
|
settings(
|
||||||
name := "pslogin",
|
name := "pslogin",
|
||||||
// ActorTests have specific timing requirements and will be flaky if run in parallel
|
// ActorTests have specific timing requirements and will be flaky if run in parallel
|
||||||
parallelExecution in Test := false
|
parallelExecution in Test := false,
|
||||||
|
// TODO(chord): remove exclusion when WorldSessionActor is refactored: https://github.com/psforever/PSF-LoginServer/issues/279
|
||||||
|
coverageExcludedPackages := "WorldSessionActor.*;zonemaps.*"
|
||||||
).
|
).
|
||||||
settings(pscryptoSettings: _*).
|
settings(pscryptoSettings: _*).
|
||||||
dependsOn(common)
|
dependsOn(common)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue