Skip to content

Commit

Permalink
CLN: clean up tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sglyon committed Jun 20, 2017
1 parent b2fe071 commit 611a3bb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 27 deletions.
6 changes: 1 addition & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
language: julia
julia:
- 0.4
- 0.5
- 0.6
- nightly
matrix:
allow_failures:
- julia: nightly
notifications:
email: false
#script:
# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
# - julia -e 'Pkg.clone(pwd()); Pkg.build("CompEcon")'
# - julia -e 'Pkg.test("CompEcon", coverage=true)'
after_success:
- julia -e 'cd(Pkg.dir("CompEcon")); Pkg.add("Coverage"); using Coverage; proc = process_folder(); Coveralls.submit(proc); Codecov.submit(proc)'
1 change: 0 additions & 1 deletion test/REQUIRE

This file was deleted.

23 changes: 2 additions & 21 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,9 @@ module CompEconTests

using CompEcon

if VERSION >= v"0.5-"
using Base.Test
else
using BaseTestNext
const Test = BaseTestNext
end

tests = [
"types.jl"
]

if length(ARGS) > 0
tests = ARGS
end

end_jl(s) = endswith(s, ".jl") ? s : s * ".jl"

for t in tests
print_with_color(:green, "* $t\n")
include(end_jl(t))
end
using Base.Test

include("types.jl")

# correctness is checked in BasisMatrices. Here we just check that all
# functions run without error
Expand Down

0 comments on commit 611a3bb

Please sign in to comment.