Skip to content

Commit

Permalink
update tests for julia 0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Jutho authored Jul 12, 2018
2 parents cf7c940 + 3852443 commit 396bc52
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 78 deletions.
1 change: 0 additions & 1 deletion .codecov.yml

This file was deleted.

34 changes: 8 additions & 26 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,17 @@
## Documentation: http://docs.travis-ci.com/user/languages/julia/
# Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
os:
- linux
- osx
julia:
- 0.6
- 0.7
- nightly
notifications:
email: false
git:
depth: 99999999

## uncomment the following lines to allow failures on nightly julia
## (tests will run but not make your overall status red)
#matrix:
# allow_failures:
# - julia: nightly

## uncomment and modify the following lines to manually install system packages
#addons:
# apt: # apt-get for linux
# packages:
# - gfortran
#before_script: # homebrew for mac
# - if [ $TRAVIS_OS_NAME = osx ]; then brew install gcc; fi
matrix:
allow_failures:
- julia: nightly
notifications:
email: false

## uncomment the following lines to override the default test script
#script:
# - julia -e 'Pkg.clone(pwd()); Pkg.build("WignerSymbols"); Pkg.test("WignerSymbols"; coverage=true)'
after_success:
# push coverage results to Coveralls
- julia -e 'cd(Pkg.dir("WignerSymbols")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
# push coverage results to Codecov
- julia -e 'cd(Pkg.dir("WignerSymbols")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
- julia -e 'cd(Pkg.dir("WignerSymbols")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder()); Codecov.submit(process_folder())';
2 changes: 1 addition & 1 deletion REQUIRE
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
julia 0.7.0-alpha
julia 0.7-
Primes
47 changes: 0 additions & 47 deletions appveyor.yml

This file was deleted.

6 changes: 3 additions & 3 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ end
#--------
@testset "clebschgordan: test orthogonality" begin
for j1 in smalljlist, j2 in smalljlist
d1 = 2*j1+1
d2 = 2*j2+1
d1::Int = 2*j1+1
d2::Int = 2*j2+1
M = zeros(Float64, (d1*d2, d1*d2))
ind1 = 1
for m1 in -j1:j1, m2 in -j2:j2
Expand Down Expand Up @@ -130,7 +130,7 @@ end
end
end
end
@test racahW(j1,j2,J,j3,J12,J23) vecdot(V2,V1)/sqrt((2*J12+1)*(2*J23+1)) atol=10*eps(Float64)
@test racahW(j1,j2,J,j3,J12,J23) dot(V2,V1)/sqrt((2*J12+1)*(2*J23+1)) atol=10*eps(Float64)
end
end
end
Expand Down

0 comments on commit 396bc52

Please sign in to comment.