diff --git a/.travis.yml b/.travis.yml index f6ee7ac8..3068f2b2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,5 +10,6 @@ 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 'Pkg.clone(pwd()); Pkg.build("Flux"); Pkg.test("Flux"; coverage=true)' + - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi + - julia -e 'Pkg.clone("https://github.com/MikeInnes/Flow.jl")' + - julia -e 'Pkg.clone(pwd()); Pkg.build("Flux"); Pkg.test("Flux"; coverage=true)' diff --git a/examples/mnist-conv.jl b/examples/mnist-conv.jl index 8ad5cf6b..e1dcc67f 100644 --- a/examples/mnist-conv.jl +++ b/examples/mnist-conv.jl @@ -1,4 +1,4 @@ -using Flux +using Flux, Juno # Flux aims to provide high-level APIs that work well across backends, but in # some cases you may want to take advantage of features specific to a given diff --git a/test/runtests.jl b/test/runtests.jl index 0efd98a1..b4b137bf 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,5 +1,10 @@ using Flux using Base.Test -# write your own tests here -@test 1 == 1 +module MNISTBasic +include("../examples/MNIST.jl") +end + +module MNISTConv +include("../examples/mnist-conv.jl") +end