diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000000..22fdde9af3 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,9 @@ +pipeline: + build: + image: scalaplatform/jdk8-ruby2-coursier:0.1 + pull: true + commands: + - bundle install + - ./scripts/run-tut.sh + - rm -r tut-tmp + - bundle exec jekyll build diff --git a/.drone.yml.sig b/.drone.yml.sig new file mode 100644 index 0000000000..e492c55065 --- /dev/null +++ b/.drone.yml.sig @@ -0,0 +1 @@ +eyJhbGciOiJIUzI1NiJ9.cGlwZWxpbmU6CiAgYnVpbGQ6CiAgICBpbWFnZTogc2NhbGFwbGF0Zm9ybS9qZGs4LXJ1YnkyLWNvdXJzaWVyOjAuMQogICAgcHVsbDogdHJ1ZQogICAgY29tbWFuZHM6CiAgICAgIC0gYnVuZGxlIGluc3RhbGwKICAgICAgLSAuL3NjcmlwdHMvcnVuLXR1dC5zaAogICAgICAtIHJtIC1yIHR1dC10bXAKICAgICAgLSBidW5kbGUgZXhlYyBqZWt5bGwgYnVpbGQK.uCV-tIDp9xbL2u2y27B9id6SL89dBfiiiTvVXYxHAbw \ No newline at end of file diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index a25fba9574..0000000000 --- a/.travis.yml +++ /dev/null @@ -1,19 +0,0 @@ -# opt-in to TravisCI's faster container-based infrastructure -sudo: false - -language: ruby -rvm: 2.0.0 - -# we must override install, or Travis's default Gemfile support -# will kick in and use `vendor`, ignoring our BUNDLE_PATH -# declaration in `.bundle/config` -install: -- curl -L -o coursier https://git.io/vgvpD -- bundle install - -before_script: chmod +x coursier - -script: -- ./scripts/run-tut.sh -- rm -r tut-tmp -- bundle exec jekyll build diff --git a/README.md b/README.md index b4f1d5469d..356ab5c4b1 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # Scala Documentation # +[![Build Status](https://platform-ci.scala-lang.org/api/badges/scala/scala.github.com/status.svg)](https://platform-ci.scala-lang.org/scala/scala.github.com) This repository contains the source for the Scala documentation website, as well as the source for "Scala Improvement Process" (SIP) documents. diff --git a/scripts/run-tut.sh b/scripts/run-tut.sh index 17a6299e03..24eb038eea 100755 --- a/scripts/run-tut.sh +++ b/scripts/run-tut.sh @@ -1,5 +1,5 @@ #!/bin/bash -COURSIER_CLASSPATH="$(./coursier fetch -p com.chuusai:shapeless_2.11:2.3.1 org.scala-lang.modules::scala-xml:1.0.3)" +COURSIER_CLASSPATH="$(coursier fetch -p com.chuusai:shapeless_2.11:2.3.1 org.scala-lang.modules::scala-xml:1.0.3)" -./coursier launch -r "https://dl.bintray.com/tpolecat/maven/" org.tpolecat:tut-core_2.11:0.4.4 -- . tut-tmp '.*\.md$' -classpath "$COURSIER_CLASSPATH" -Xfatal-warnings -feature +coursier launch -r "https://dl.bintray.com/tpolecat/maven/" org.tpolecat:tut-core_2.11:0.4.4 -- . tut-tmp '.*\.md$' -classpath "$COURSIER_CLASSPATH" -Xfatal-warnings -feature