Skip to content

Commit

Permalink
enable docs after fixing ank with arrow 0.7.0 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Guardiola31337 committed Apr 1, 2018
1 parent ee18d15 commit fbd1229
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
10 changes: 9 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
}
Expand Down
4 changes: 2 additions & 2 deletions deploy-scripts/deploy_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion modules/docs/arrow-docs/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit fbd1229

Please sign in to comment.