Skip to content

Commit

Permalink
updated circleci configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
petitviolet committed Aug 7, 2018
1 parent 91965d6 commit d25a32b
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 27 deletions.
30 changes: 30 additions & 0 deletions .circleci/config.yml
@@ -0,0 +1,30 @@
version: 2
# scoverageのレポートを保存するよう設定

jobs:
build:
docker:
- image: circleci/openjdk:8-jdk
working_directory: ~/scala-operator
steps:
- checkout
- restore_cache:
keys:
- scala-operator-
- run:
name: Run compile
command: sbt 'project operator' clean update compile
- run:
name: Run tests
command: sbt 'project operator' coverage test coverageReport
- run:
name: Aggregate coverage reports
command: sbt 'project operator' coverageAggregate && sbt 'project operator' coveralls
- save_cache:
key: scala-operator-
paths:
- /.sbt
- /.ivy2
- store_artifacts:
path: ~/scala-operator/operator/target/*/scoverage-report

4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -19,6 +19,6 @@ build.sbt
libraryDependencies += "net.petitviolet" %% "operator" % <latest-version>
```

## LISENCE
## LICENSE

[LISENCE](https://github.com/petitviolet/scala-operator/blob/master/LICENSE)
[LICENSE](https://github.com/petitviolet/scala-operator/blob/master/LICENSE)
25 changes: 0 additions & 25 deletions circle.yml

This file was deleted.

0 comments on commit d25a32b

Please sign in to comment.