Skip to content

Commit

Permalink
Upgrade project configuration and dependencies
Browse files Browse the repository at this point in the history
- Upgrade to Clojure 1.10.0
- Upgrade dependencies to latest versions
- Added dependencies for coding style linting
- Added testing configuration
- Added Clojars deployment configuration
- Added Travis-CI integration configuration
  • Loading branch information
iarenaza committed Apr 7, 2021
1 parent 9d54fb1 commit 5c40c15
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 8 deletions.
15 changes: 15 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
language: clojure
lein: 2.9.0
dist: xenial
jdk:
-openjdk8
script: lein do cljfmt check, eastwood, test :all
deploy:
provider: script
skip_cleanup: true
script: lein deploy
on:
tags: true
cache:
directories:
- $HOME/.m2
35 changes: 27 additions & 8 deletions project.clj
Original file line number Diff line number Diff line change
@@ -1,10 +1,29 @@
(defproject uk.me.rkd.ttlcache "0.1.0"
:description "A variation of core.cache's TTLCache specialised for some different cases"
:url "https://github.com/rkday/ttlcache"
(defproject coop.magnet/ttlcache "0.2.0-SNAPSHOT"
:description "A variation of core.cache's TTLCache specialised for some different cases. Forked from https://github.com/rkday/ttlcache"
:url "https://github.com/magnetcoop/ttlcache"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.5.1"]
[org.clojure/core.cache "0.6.3"]
[criterium "0.4.3"]
[org.clojure/data.priority-map "0.0.4"]]
:jvm-opts ^:replace ["-server"] )
:dependencies [[org.clojure/clojure "1.10.0"]
[org.clojure/core.cache "1.0.207"]
[criterium "0.4.6"]
[org.clojure/data.priority-map "1.0.0"]]
:deploy-repositories [["snapshots" {:url "https://clojars.org/repo"
:username :env/clojars_username
:password :env/clojars_password
:sign-releases false}]
["releases" {:url "https://clojars.org/repo"
:username :env/clojars_username
:password :env/clojars_password
:sign-releases false}]]
:test-paths ["test"]
:test-selectors {:default (fn [m] (not (or (:integration m) (:regression m))))
:all (constantly true)
:integration :integration
:regression :regression}
:profiles
{:dev [:project/dev :profiles/dev]
:repl {:repl-options {:host "0.0.0.0"
:port 4001}}
:profiles/dev {}
:project/dev {:plugins [[jonase/eastwood "0.3.14"]
[lein-cljfmt "0.7.0"]]}})

0 comments on commit 5c40c15

Please sign in to comment.