diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml new file mode 100644 index 0000000..8ddb2d3 --- /dev/null +++ b/.github/workflows/documentation.yml @@ -0,0 +1,24 @@ +name: Documentation + +on: + push: + branches: + - main + tags: '*' + pull_request: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: julia-actions/setup-julia@latest + with: + version: '1.6' + - name: Install dependencies + run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()' + - name: Build and deploy + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token + DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key + run: julia --project=docs/ docs/make.jl \ No newline at end of file diff --git a/.gitignore b/.gitignore index 982ca9b..171f2a1 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,6 @@ *.jl.*.cov *.jl.mem *~ -.* +.git/* emotions.csv Manifest.toml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index d701c3e..0000000 --- a/.travis.yml +++ /dev/null @@ -1,41 +0,0 @@ -# Documentation: http://docs.travis-ci.com/user/languages/julia/ -language: julia -codecov: true -coveralls: true - -os: - - linux - - osx - - windows - -julia: - - 1.0 - - 1.5 - - nightly - -matrix: - allow_failures: - - julia: nightly - -notifications: - email: - recipients: - - donsadit@gmail.com - - on_success: change # options: [always|never|change] default: always - on_failure: always # options: [always|never|change] default: always - on_start: never # options: [always|never|change] default: alway - -env: - global: - - DISABLE_AMEND_COVERAGE_FROM_SRC=yes - -# uncomment the following lines to override the default test script -script: -# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi -# the following early package addition avoids long waits for julia's register updates - - julia -e 'using Pkg; pkg"add https://github.com/sadit/SimilaritySearch.jl"' - -after_success: - - julia -e 'using Pkg; import KCenters; joinpath(dirname(pathof(KCenters)), ".."); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())' - - julia -e 'using Pkg; import KCenters; joinpath(dirname(pathof(KCenters)), ".."); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())' diff --git a/Project.toml b/Project.toml index 328c4b2..27d6ec7 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "KCenters" uuid = "5d8de97f-65f8-4dd6-a15b-0f89c36a43ce" authors = ["Eric S. Tellez "] -version = "0.6.0" +version = "0.6.1" [deps] CategoricalArrays = "324d7699-5711-5eae-9e2f-1d82baa6b597"