fix travis

This commit is contained in:
kalmarek 2018-09-21 19:27:47 +02:00
parent fdab6278d5
commit df007e5fb6
2 changed files with 8 additions and 7 deletions

View File

@ -4,7 +4,8 @@ os:
- linux
- osx
julia:
- 0.6
- 0.7
- 1.0
- nightly
notifications:
email: true
@ -24,8 +25,8 @@ matrix:
# - if [ $TRAVIS_OS_NAME = osx ]; then brew install gcc; fi
## uncomment the following lines to override the default test script
script:
- julia -e 'Pkg.clone(pwd()); Pkg.build("Groups"); Pkg.test("Groups"; coverage=true)'
# script:
# - julia -e 'Pkg.clone(pwd()); Pkg.build("Groups"); Pkg.test("Groups"; coverage=true)'
after_success:
# push coverage results to Coveralls

View File

@ -32,7 +32,7 @@
@test GG(g, g^2) isa GroupElem
@test GG(g, g^2) isa Groups.DirectProductGroupElem
@test_throws MethodError GG(g,g,g)
@test_throws DomainError GG(g,g,g)
@test GG(g,g^2) == h
@test h[1] == g
@ -109,9 +109,9 @@
@test FF([a,1]) isa GroupElem
@test FF([a,1]) isa DirectProductGroupElem
@test FF([a,1]) isa DirectProductGroupElem{MltGrpElem{elem_type(F)}}
@test_throws MethodError FF(1,0)
@test_throws MethodError FF([0,1])
@test_throws MethodError FF([1,0])
@test_throws DomainError FF(1,0)
@test_throws DomainError FF([0,1])
@test_throws DomainError FF([1,0])
@test MltGrp(F) isa AbstractAlgebra.Group
@test MltGrp(F) isa MultiplicativeGroup