From fbd122908984c9c41be9f1d89877a23625bb3995 Mon Sep 17 00:00:00 2001 From: Guardiola31337 Date: Sun, 1 Apr 2018 20:47:51 +0200 Subject: [PATCH] enable docs after fixing ank with arrow 0.7.0 changes --- .travis.yml | 10 +++++++++- build.gradle | 2 +- deploy-scripts/deploy_docs.sh | 4 ++-- modules/docs/arrow-docs/build.gradle | 2 +- 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2f11363d377..a35d3a3797e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,9 +6,17 @@ jdk: - oraclejdk8 script: - - ./gradlew clean build + - ./gradlew clean build :arrow-docs:runAnk - ./gradlew codeCoverageReport after_success: - bash <(curl -s https://codecov.io/bash) - ./deploy-scripts/deploy.sh + +deploy: + provider: pages + skip_cleanup: true + github_token: $GITHUB_TOKEN + local_dir: modules/docs/arrow-docs/build/site + on: + branch: master diff --git a/build.gradle b/build.gradle index 75a95cf4e49..677d01dd36c 100644 --- a/build.gradle +++ b/build.gradle @@ -40,7 +40,7 @@ buildscript { classpath "com.github.ben-manes:gradle-versions-plugin:$gradleVersionsPluginVersion" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion" classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.0' - classpath 'io.arrow-kt:ank-gradle-plugin:0.6.2-20180328.183523-7' + classpath 'io.arrow-kt:ank-gradle-plugin:0.7.0-20180401.180640-1' classpath 'org.ajoberstar:gradle-git-publish:0.3.2' } } diff --git a/deploy-scripts/deploy_docs.sh b/deploy-scripts/deploy_docs.sh index c73eb23060b..c3a5f62cc21 100755 --- a/deploy-scripts/deploy_docs.sh +++ b/deploy-scripts/deploy_docs.sh @@ -4,8 +4,8 @@ echo "Branch '$TRAVIS_BRANCH'" if [ "$TRAVIS_BRANCH" == "master" ]; then -# ./gradlew :arrow-docs:gitPublishPush - echo "Docs temporarily disabled!" + ./gradlew :arrow-docs:gitPublishPush + echo "Docs deployed!" else echo "Skipped docs deployment in branch '$TRAVIS_BRANCH'" fi diff --git a/modules/docs/arrow-docs/build.gradle b/modules/docs/arrow-docs/build.gradle index 67f08d0e24d..85b6eb29635 100644 --- a/modules/docs/arrow-docs/build.gradle +++ b/modules/docs/arrow-docs/build.gradle @@ -2,7 +2,7 @@ apply plugin: 'ank-gradle-plugin' apply plugin: 'org.ajoberstar.git-publish' dependencies { - compile 'io.arrow-kt:ank-core:0.6.2-20180328.183436-8' + compile 'io.arrow-kt:ank-core:0.7.0-20180401.180605-1' compile project(':arrow-data') compile project(':arrow-core') compile project(':arrow-instances')