some form of testing

This commit is contained in:
Mike J Innes 2016-10-25 16:43:59 +01:00
parent d442dd8c5b
commit 18502158f0
3 changed files with 11 additions and 5 deletions

View File

@ -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)'

View File

@ -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

View File

@ -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