Merge pull request #2517 from daschw/unpin

Try not to pin FixedPointNumbers in tests.
This commit is contained in:
Daniel Schwabeneder 2020-03-30 12:03:07 +02:00 committed by GitHub
commit ac25972873
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 6 deletions

View File

@ -4,8 +4,8 @@ os:
- linux - linux
# - osx # - osx
julia: julia:
- 1.0
- 1 - 1
- 1.4
- nightly - nightly
matrix: matrix:
@ -41,4 +41,4 @@ after_success:
script: script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- if [[ `uname` = "Linux" ]]; then TESTCMD="xvfb-run julia"; else TESTCMD="julia"; fi - if [[ `uname` = "Linux" ]]; then TESTCMD="xvfb-run julia"; else TESTCMD="julia"; fi
- $TESTCMD -e 'using Pkg; if VERSION == v"1.4"; Pkg.resolve(); end; Pkg.pin(PackageSpec(name="FixedPointNumbers", version="0.7")); Pkg.build(); Pkg.test(coverage=true)' - $TESTCMD -e 'using Pkg; Pkg.build(); Pkg.test(coverage=true)'

View File

@ -1,8 +1,7 @@
environment: environment:
matrix: matrix:
# - julia_version: 0.7 - julia_version: 1.0
- julia_version: 1 - julia_version: 1
- julia_version: 1.4
- julia_version: nightly - julia_version: nightly
platform: platform:
@ -33,8 +32,7 @@ install:
- ps: iex ((new-object net.webclient).DownloadString("https://raw.githubusercontent.com/JuliaCI/Appveyor.jl/version-1/bin/install.ps1")) - ps: iex ((new-object net.webclient).DownloadString("https://raw.githubusercontent.com/JuliaCI/Appveyor.jl/version-1/bin/install.ps1"))
build_script: build_script:
- C:\julia\bin\julia --project=C:\projects\plots-jl -e "using Pkg; if VERSION == v"""1.4"""; Pkg.resolve(); end; Pkg.pin(PackageSpec(name="""FixedPointNumbers""", version="""0.7"""))" - echo "%JL_TEST_SCRIPT%"
- echo "%JL_BUILD_SCRIPT%"
- C:\julia\bin\julia -e "%JL_BUILD_SCRIPT%" - C:\julia\bin\julia -e "%JL_BUILD_SCRIPT%"
test_script: test_script: