Skip to content

Commit

Permalink
Merge branch 'travis'
Browse files Browse the repository at this point in the history
  • Loading branch information
RickMoynihan committed Apr 7, 2017
2 parents 7917779 + 4950c38 commit e4ff2fe
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 4 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
language: clojure
sudo: required
lein: 2.7.1
jdk:
- oraclejdk8
before_install:
- sudo ./travis/setup-lein-travis.sh

script: travis_retry env JAVA_HOME=/usr/lib/jvm/java-8-oracle/bin/java lein test
5 changes: 1 addition & 4 deletions project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,7 @@
:path "src/tabular"
:levels 2}]


:profiles {:uberjar {:aot :all}

:clj-19 { :dependencies [[org.clojure/clojure "1.9.0-alpha14"]] }
:profiles {:clj-19 { :dependencies [[org.clojure/clojure "1.9.0-alpha14"]] }

:dev {:plugins [[com.aphyr/prism "0.1.1"] ;; autotest support simply run: lein prism
[codox "0.8.10"]
Expand Down
2 changes: 2 additions & 0 deletions src/pipeline/grafter/pipeline/types.clj
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@

(prefer-method parse-parameter [String ::tabular-dataset] [String Map])

(prefer-method parse-parameter [String Map] [String ::root-type])

(prefer-method parse-parameter [Map ::tabular-dataset] [Map Map])

(swap! parameter-types derive java.io.InputStream ::binary-file)
Expand Down
1 change: 1 addition & 0 deletions travis/profiles.clj
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
5 changes: 5 additions & 0 deletions travis/setup-lein-travis.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

chown -R travis ../travis/*
mkdir -p /etc/leiningen/
mv ./travis/profiles.clj /etc/leiningen/profiles.clj

0 comments on commit e4ff2fe

Please sign in to comment.