diff options
| -rw-r--r-- | .builds/coverage.yml | 40 | ||||
| -rw-r--r-- | .builds/test.yml | 19 | ||||
| -rw-r--r-- | .gitignore | 3 |
3 files changed, 2 insertions, 60 deletions
diff --git a/.builds/coverage.yml b/.builds/coverage.yml deleted file mode 100644 index 4144990..0000000 --- a/.builds/coverage.yml +++ /dev/null @@ -1,40 +0,0 @@ -image: ubuntu/lts -sources: - - git@git.sr.ht:~asko/dompa -secrets: - - fff5ce49-d98d-4b18-88ac-6f8f063c079a -tasks: - - bootstrap: | - sudo apt update && sudo apt upgrade -y - sudo apt-get install software-properties-common rlwrap curl zip unzip -y - sudo apt update - curl -L -O https://github.com/clojure/brew-install/releases/latest/download/linux-install.sh - chmod +x linux-install.sh - sudo ./linux-install.sh - curl -s "https://get.sdkman.io" | bash - source ~/.sdkman/bin/sdkman-init.sh - sdk install java - - - coverage: | - source ~/.sdkman/bin/sdkman-init.sh - cd ./dompa - clj -M:coverage - - - gen-badge: | - cd ./dompa - curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash - source ~/.nvm/nvm.sh - nvm install --lts - npm i -g lcov-badge2 - lcov-badge2 -o coverage.svg target/coverage/lcov.info - - - upload-badge: | - eval "$(ssh-agent -s)" - ssh-add ~/.ssh/id_rsa - ssh-keyscan git.sr.ht >> ~/.ssh/known_hosts - git clone git@git.sr.ht:~asko/dompa-resources - mv ./dompa/coverage.svg dompa-resources/coverage.svg - cd dompa-resources - git add . - git commit -m "Update" - git push -u origin master
\ No newline at end of file diff --git a/.builds/test.yml b/.builds/test.yml deleted file mode 100644 index 62833ff..0000000 --- a/.builds/test.yml +++ /dev/null @@ -1,19 +0,0 @@ -image: ubuntu/lts -sources: - - git@git.sr.ht:~asko/dompa -tasks: - - bootstrap: | - sudo apt update && sudo apt upgrade -y - sudo apt-get install software-properties-common rlwrap curl zip unzip -y - sudo apt update - curl -L -O https://github.com/clojure/brew-install/releases/latest/download/linux-install.sh - chmod +x linux-install.sh - sudo ./linux-install.sh - curl -s "https://get.sdkman.io" | bash - source ~/.sdkman/bin/sdkman-init.sh - sdk install java - - - test: | - source ~/.sdkman/bin/sdkman-init.sh - cd ./dompa - clj -X:test
\ No newline at end of file @@ -3,4 +3,5 @@ .clj-kondo/ dompa.iml .cpcache/ -target/
\ No newline at end of file +target/ +.lsp/ |
