From 5ec40ca4393c0ed285a1e31bca31be57e601dc73 Mon Sep 17 00:00:00 2001 From: Phelipe Wesley Date: Fri, 23 Apr 2021 23:07:58 -0300 Subject: [PATCH 1/6] remove travis and appveyor --- .travis.yml | 21 --------------------- appveyor.yml | 34 ---------------------------------- 2 files changed, 55 deletions(-) delete mode 100644 .travis.yml delete mode 100644 appveyor.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index e3d9d61..0000000 --- a/.travis.yml +++ /dev/null @@ -1,21 +0,0 @@ -# Documentation: http://docs.travis-ci.com/user/languages/julia/ -language: julia -os: - - linux -julia: - - 1.2 - - nightly -matrix: - allow_failures: - - julia: nightly -notifications: - email: false -# uncomment the following lines to override the default test script -#script: -# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi -# - julia -e 'using Pkg; Pkg.clone(pwd()); Pkg.build("Fuzzy"); Pkg.test("Fuzzy"; coverage=true)' -after_success: - # push coverage results to Coveralls - - julia -e 'using Pkg; cd(Pkg.dir("Fuzzy")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())' - # push coverage results to Codecov - - julia -e 'using Pkg; cd(Pkg.dir("Fuzzy")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())' diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 31fcd73..0000000 --- a/appveyor.yml +++ /dev/null @@ -1,34 +0,0 @@ -environment: - matrix: - - JULIAVERSION: "julialang/bin/winnt/x86/0.5/julia-0.5-latest-win32.exe" - - JULIAVERSION: "julialang/bin/winnt/x64/0.5/julia-0.5-latest-win64.exe" - - JULIAVERSION: "julianightlies/bin/winnt/x86/julia-latest-win32.exe" - - JULIAVERSION: "julianightlies/bin/winnt/x64/julia-latest-win64.exe" - -branches: - only: - - master - - /release-.*/ - -notifications: - - provider: Email - on_build_success: false - on_build_failure: false - on_build_status_changed: false - -install: -# Download most recent Julia Windows binary - - ps: (new-object net.webclient).DownloadFile( - $("http://s3.amazonaws.com/"+$env:JULIAVERSION), - "C:\projects\julia-binary.exe") -# Run installer silently, output to C:\projects\julia - - C:\projects\julia-binary.exe /S /D=C:\projects\julia - -build_script: -# Need to convert from shallow to complete for Pkg.clone to work - - IF EXIST .git\shallow (git fetch --unshallow) - - C:\projects\julia\bin\julia -e "versioninfo(); - Pkg.clone(pwd(), \"Fuzzy\"); Pkg.build(\"Fuzzy\")" - -test_script: - - C:\projects\julia\bin\julia -e "Pkg.test(\"Fuzzy\")" From d918670b4eb6ef6593f2b39548693c507ad46096 Mon Sep 17 00:00:00 2001 From: Phelipe Wesley Date: Fri, 23 Apr 2021 23:08:15 -0300 Subject: [PATCH 2/6] update gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 8a6e5db..0b04cf9 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ *.jl.mem Manifest.toml .directory +.vscode From f03bfb5dbb8260a2a0eb7a6c6e5f272d6a66f131 Mon Sep 17 00:00:00 2001 From: Phelipe Wesley Date: Fri, 23 Apr 2021 23:12:42 -0300 Subject: [PATCH 3/6] update Project.toml --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index cd82073..09b008d 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "Fuzzy" uuid = "a9166f1b-85e5-4df0-9c26-e06b441f12e8" authors = ["Phelipe Wesley and contributors"] -version = "0.1.0" +version = "0.2.0" [compat] julia = "1" From 580bc74f6863869fa3af421c0b7dba624f15215a Mon Sep 17 00:00:00 2001 From: Phelipe Wesley Date: Fri, 23 Apr 2021 23:12:48 -0300 Subject: [PATCH 4/6] update Readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 992f969..9bf2aba 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ # Fuzzy +============= Mamdani and Sugeno type Fuzzy Inference System in julia. This code is based in [Lepisma](https://github.com/lepisma/Fuzzy.jl). -## Build +[![CI](https://github.com/phelipe/Fuzzy.jl/actions/workflows/ci.yml/badge.svg)](https://github.com/phelipe/Fuzzy.jl/actions/workflows/ci.yml) -[![Build Status](https://travis-ci.org/phelipe/Fuzzy.jl.svg?branch=master)](https://travis-ci.org/phelipe/Fuzzy.jl) [![Coverage Status](https://coveralls.io/repos/phelipe/Fuzzy.jl/badge.svg?branch=master&service=github)](https://coveralls.io/github/phelipe/Fuzzy.jl?branch=master) [![codecov.io](http://codecov.io/github/phelipe/Fuzzy.jl/coverage.svg?branch=master)](http://codecov.io/github/phelipe/Fuzzy.jl?branch=master) ## Install From 52ed3750db7d693777619012aa0da7e3f395f4f3 Mon Sep 17 00:00:00 2001 From: Phelipe Wesley Date: Fri, 23 Apr 2021 23:20:18 -0300 Subject: [PATCH 5/6] add github ci --- .github/workflows/ci.yml | 48 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..f0f0984 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,48 @@ +name: CI +on: + pull_request: + branches: + - master + - dev + push: + branches: + - master + - dev + tags: '*' +jobs: + test: + name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + version: + - '1' + os: + - ubuntu-latest + - macos-latest + - windows-latest + arch: + - x64 + steps: + - uses: actions/checkout@v2 + - uses: julia-actions/setup-julia@v1 + with: + version: ${{ matrix.version }} + arch: ${{ matrix.arch }} + - uses: actions/cache@v1 + env: + cache-name: cache-artifacts + with: + path: ~/.julia/artifacts + key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} + restore-keys: | + ${{ runner.os }}-test-${{ env.cache-name }}- + ${{ runner.os }}-test- + ${{ runner.os }}- + - uses: julia-actions/julia-buildpkg@v1 + - uses: julia-actions/julia-runtest@v1 + - uses: julia-actions/julia-processcoverage@v1 + - uses: codecov/codecov-action@v1 + with: + file: lcov.info \ No newline at end of file From 47f50572017344250ca6d35a82dce0042091acd0 Mon Sep 17 00:00:00 2001 From: Phelipe Wesley Date: Fri, 23 Apr 2021 23:33:25 -0300 Subject: [PATCH 6/6] add TagBot.yml --- .github/workflows/TagBot.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/TagBot.yml diff --git a/.github/workflows/TagBot.yml b/.github/workflows/TagBot.yml new file mode 100644 index 0000000..623860f --- /dev/null +++ b/.github/workflows/TagBot.yml @@ -0,0 +1,15 @@ +name: TagBot +on: + issue_comment: + types: + - created + workflow_dispatch: +jobs: + TagBot: + if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot' + runs-on: ubuntu-latest + steps: + - uses: JuliaRegistries/TagBot@v1 + with: + token: ${{ secrets.GITHUB_TOKEN }} + ssh: ${{ secrets.DOCUMENTER_KEY }} \ No newline at end of file