From ca6897df4c2154e16d49b999380217cad54f8894 Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Wed, 1 Nov 2017 17:24:05 +0100 Subject: [PATCH 1/2] Compile root in CI --- .drone.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 696e64040d6f..b8f4ede77363 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,16 +13,14 @@ pipeline: image: lampepfl/dotty:2017-10-20 commands: - cp -R . /tmp/1/ && cd /tmp/1/ - - ./project/scripts/sbt testAll - - ./project/scripts/sbt ";dotty-bench/jmh:run 1 1 tests/run/arrays.scala" + - ./project/scripts/sbt ";compile ;testAll ;dotty-bench/jmh:run 1 1 tests/run/arrays.scala" test_bootstrapped: group: test image: lampepfl/dotty:2017-10-20 commands: - cp -R . /tmp/2/ && cd /tmp/2/ - - ./project/scripts/sbt dotty-bootstrapped/testAll - - ./project/scripts/sbt ";dotty-bench-bootstrapped/jmh:run 1 1 tests/run/arrays.scala" + - ./project/scripts/sbt ";dotty-bootstrapped/compile ;dotty-bootstrapped/testAll ;dotty-bench-bootstrapped/jmh:run 1 1 tests/run/arrays.scala" test_optimised: group: test From d9e5688e68ee440be0d75f12c4b2d7074472ace5 Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Thu, 2 Nov 2017 10:02:55 +0100 Subject: [PATCH 2/2] Use smaller file to test that benchmarks can run --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index b8f4ede77363..4b2661ea0532 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,14 +13,14 @@ pipeline: image: lampepfl/dotty:2017-10-20 commands: - cp -R . /tmp/1/ && cd /tmp/1/ - - ./project/scripts/sbt ";compile ;testAll ;dotty-bench/jmh:run 1 1 tests/run/arrays.scala" + - ./project/scripts/sbt ";compile ;testAll ;dotty-bench/jmh:run 1 1 tests/pos/alias.scala" test_bootstrapped: group: test image: lampepfl/dotty:2017-10-20 commands: - cp -R . /tmp/2/ && cd /tmp/2/ - - ./project/scripts/sbt ";dotty-bootstrapped/compile ;dotty-bootstrapped/testAll ;dotty-bench-bootstrapped/jmh:run 1 1 tests/run/arrays.scala" + - ./project/scripts/sbt ";dotty-bootstrapped/compile ;dotty-bootstrapped/testAll ;dotty-bench-bootstrapped/jmh:run 1 1 tests/pos/alias.scala" test_optimised: group: test