Repository navigation
CircleCI - #3236
Merged
Merged
CircleCI#3236
Conversation
pomadchin
force-pushed
the
feature/circle-ci
branch
from
April 27, 2020 17:20
c324ae0 to
b5f447f
Compare
pomadchin
force-pushed
the
feature/circle-ci
branch
from
April 27, 2020 17:30
b5f447f to
24b674d
Compare
pomadchin
commented
Apr 27, 2020
| name: Artifacts publish | ||
| command: | | ||
| export SCALA_VERSION=<< parameters.scala-version >> | ||
| ./sbt -Dsbt.supershell=false "++$SCALA_VERSION" publishLocal |
Member
Author
There was a problem hiding this comment.
This should eventually become publish and not publishLocal
pomadchin
force-pushed
the
feature/circle-ci
branch
from
April 27, 2020 21:01
36f0850 to
900d544
Compare
pomadchin
commented
Apr 27, 2020
| ArrayTile(array, rasterExtent.cols, rasterExtent.rows) | ||
| } | ||
| def rasterizeWithValue(geom: Geometry, rasterExtent: RasterExtent, value: Int): Tile = | ||
| if(!geom.isValid) throw new IllegalArgumentException("Cannot rasterize an invalid polygon") |
Member
Author
There was a problem hiding this comment.
If the geometry is topologically invalid, it makes no sense to rasterize it?
pomadchin
commented
Apr 27, 2020
| def stddev(xs: List[Int], avg: Double): Double = xs match { | ||
| case Nil => Double.NaN | ||
| case ys => math.sqrt((0.0 /: ys) { | ||
| case ys => math.sqrt(ys.foldLeft(0.0) { |
pomadchin
commented
Apr 27, 2020
| ./sbt -Dsbt.supershell=false "++$SCALA_VERSION" \ | ||
| "project spark" test \ | ||
| "project spark-pipeline" test && \ | ||
| ./sbt -Dsbt.supershell=false "++$SCALA_VERSION" \ |
Member
Author
There was a problem hiding this comment.
Splited into separate sbt starts due to memory issues.
pomadchin
force-pushed
the
feature/circle-ci
branch
4 times, most recently
from
April 27, 2020 21:34
249032d to
bc76d4a
Compare
pomadchin
force-pushed
the
feature/circle-ci
branch
from
April 27, 2020 21:53
bc76d4a to
0f64be3
Compare
pomadchin
force-pushed
the
feature/circle-ci
branch
from
April 27, 2020 22:08
89f9a4e to
8ce5d2a
Compare
pomadchin
force-pushed
the
feature/circle-ci
branch
from
April 28, 2020 02:27
e204e6e to
b923dd5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR replaces Travis with CircleCI. It allows to speedup the tests run and purifies some parts of the CI environment (for instance HBase testing).