Skip to content

Commit 94960d3

Browse files
committed
Drop bswap(::Complex) definition, it's now in Base/Compat. Update travis config.
1 parent e5ad6ce commit 94960d3

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

.travis.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,17 @@ os:
66
- osx
77

88
julia:
9-
- release
9+
- 0.5
10+
- 0.6
1011
- nightly
1112

1213
matrix:
13-
# testing on OSX is expensive, skip for release
14+
# testing on OSX is expensive, skip for older julia versions
1415
exclude:
1516
- os: osx
16-
julia: release
17+
julia: 0.5
18+
allow_failures:
19+
- julia: nightly
1720

1821
notifications:
1922
email: false
@@ -24,15 +27,14 @@ addons:
2427
- gfortran
2528

2629
before_install:
27-
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
2830
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install gcc; fi
2931

3032
script:
3133
- julia -e 'Pkg.clone(pwd()); Pkg.build("FortranFiles"); Pkg.test("FortranFiles"; coverage=true)'
3234

3335
after_success:
3436
# build and deploy documentation
35-
- if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_JULIA_VERSION" == "release" ]]; then
37+
- if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_JULIA_VERSION" == "0.5" ]]; then
3638
julia -e 'Pkg.add("Documenter"); cd(Pkg.dir("FortranFiles")); include(joinpath("docs", "make.jl"))';
3739
fi
3840
# push coverage results to Coveralls and Codecov

REQUIRE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
julia 0.5
2-
Compat 0.18
2+
Compat 0.24

src/types.jl

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Base: show, bswap
1+
import Base: show
22

33
@compat abstract type AccessMode end
44
@compat abstract type RecordMarkerType end
@@ -58,6 +58,3 @@ function get_convert(name::String)
5858
error("unknown convert method \"$name\"")
5959
end
6060

61-
# add missing byte-order swapping method
62-
bswap{T}(z::Complex{T}) = complex(bswap(z.re), bswap(z.im))
63-

0 commit comments

Comments
 (0)