Skip to content

Commit 611a3bb

Browse files
committed
CLN: clean up tests
1 parent b2fe071 commit 611a3bb

File tree

3 files changed

+3
-27
lines changed

3 files changed

+3
-27
lines changed

.travis.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11
language: julia
22
julia:
3-
- 0.4
43
- 0.5
4+
- 0.6
55
- nightly
66
matrix:
77
allow_failures:
88
- julia: nightly
99
notifications:
1010
email: false
11-
#script:
12-
# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
13-
# - julia -e 'Pkg.clone(pwd()); Pkg.build("CompEcon")'
14-
# - julia -e 'Pkg.test("CompEcon", coverage=true)'
1511
after_success:
1612
- julia -e 'cd(Pkg.dir("CompEcon")); Pkg.add("Coverage"); using Coverage; proc = process_folder(); Coveralls.submit(proc); Codecov.submit(proc)'

test/REQUIRE

Lines changed: 0 additions & 1 deletion
This file was deleted.

test/runtests.jl

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,9 @@ module CompEconTests
22

33
using CompEcon
44

5-
if VERSION >= v"0.5-"
6-
using Base.Test
7-
else
8-
using BaseTestNext
9-
const Test = BaseTestNext
10-
end
11-
12-
tests = [
13-
"types.jl"
14-
]
15-
16-
if length(ARGS) > 0
17-
tests = ARGS
18-
end
19-
20-
end_jl(s) = endswith(s, ".jl") ? s : s * ".jl"
21-
22-
for t in tests
23-
print_with_color(:green, "* $t\n")
24-
include(end_jl(t))
25-
end
5+
using Base.Test
266

7+
include("types.jl")
278

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

0 commit comments

Comments
 (0)