Skip to content

Commit 5ef448d

Browse files
authored
appveyor, precompile (#234)
* appveyor, precompile * adjustments for v0.7/1.0: base, occursin, atan2, chol, cholesky, * tests passing * remove last(?) of pre v0.7 things * adjust .travis
1 parent 88baff4 commit 5ef448d

30 files changed

+435
-1130
lines changed

.travis.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ os:
33
- linux
44
- osx
55
julia:
6-
- 0.6
6+
- 0.7
7+
- 1.0
78
- nightly
89
matrix:
910
allow_failures:
@@ -20,9 +21,9 @@ notifications:
2021
email: false
2122
before_install:
2223
#install mpmath to test functionallity
23-
- if [ $MPMATH = "true" ]; then julia -e 'Pkg.add("Conda"); using Conda; Conda.add("mpmath")';fi
24+
- if [ $MPMATH = "true" ]; then julia -e 'using Pkg; Pkg.add("Conda"); using Conda; Conda.add("mpmath")';fi
2425
script:
2526
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
26-
- julia -e 'Pkg.clone(pwd()); Pkg.build("SymPy"); Pkg.test("SymPy"; coverage=true)'
27+
- julia -e 'using Pkg; Pkg.clone(pwd()); Pkg.build("SymPy"); Pkg.test("SymPy"; coverage=true)'
2728
after_success:
28-
- julia -e 'Pkg.add("Coverage"); cd(Pkg.dir("SymPy")); using Coverage; Coveralls.submit(process_folder())'
29+
- julia -e 'using Pkg; Pkg.add("Coverage"); cd(Pkg.dir("SymPy")); using Coverage; Coveralls.submit(process_folder())'

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![SymPy](http://pkg.julialang.org/badges/SymPy_0.6.svg)](http://pkg.julialang.org/?pkg=SymPy&ver=0.6)
1+
[![SymPy](http://pkg.julialang.org/badges/SymPy_0.7.svg)](http://pkg.julialang.org/?pkg=SymPy&ver=0.7)
22

33
Linux: [![Build Status](https://travis-ci.org/JuliaPy/SymPy.jl.svg?branch=master)](https://travis-ci.org/JuliaPy/SymPy.jl)
44
 
@@ -33,7 +33,7 @@ package is first loaded. Otherwise, installing both `Python` and
3333
`SymPy` (which also requires `mpmath`) can be done by other means.
3434
In this case, the `Anaconda` distribution is suggested, as it provides a single
3535
installation of `Python` that includes `SymPy` and many other
36-
scientifice libraries that can be profitably accessed within `Julia`
36+
scientific libraries that can be profitably accessed within `Julia`
3737
via `PyCall`. (Otherwise, install `Python` then download the `sympy`
3838
library from https://github.com/sympy/sympy/releases and install.)
3939

@@ -104,7 +104,7 @@ SymPy's `ex.meth_name(...)` or `meth_name(ex, ...)`, as possible.
104104

105105
There is a `sympy` string macro to simplify this a bit, with the call
106106
looking like: `sympy"meth_name"(...)`, for example
107-
`sympy"harmonic"(10)`. For example, the above could also be done
107+
`sympy"harmonic"(10)`. For another example, the above could also be done
108108
through:
109109

110110
```

REQUIRE

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
julia 0.6.0
2-
Compat 0.33.0
3-
PyCall 1.6.0
1+
julia 0.7.0
2+
PyCall 1.7.1
43
RecipesBase 0.2.3
54
SpecialFunctions 0.3.4
6-

appveyor.yml

Lines changed: 14 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,18 @@
11
environment:
22
matrix:
3+
- julia_version: 0.7
4+
- julia_version: 1.0
5+
- julia_version: latest
36

4-
# 0.6 - latest
5-
6-
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x86/0.6/julia-0.6-latest-win32.exe"
7-
PYTHONDIR: "use_conda"
8-
PYTHON: "use_conda"
9-
10-
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x64/0.6/julia-0.6-latest-win64.exe"
11-
PYTHONDIR: "use_conda"
12-
PYTHON: "use_conda"
13-
14-
- JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x86/julia-latest-win32.exe"
15-
PYTHONDIR: "use_conda"
16-
PYTHON: "use_conda"
17-
18-
- JULIA_URL: "https://julialangnightlies-s3.julialang.org/bin/winnt/x64/julia-latest-win64.exe"
19-
PYTHONDIR: "use_conda"
20-
PYTHON: "use_conda"
7+
platform:
8+
- x86 # 32-bit
9+
- x64 # 64-bit
2110

11+
## uncomment the following lines to allow failures on nightly julia
12+
## (tests will run but not make your overall status red)
2213
matrix:
2314
allow_failures:
24-
- channel: nightly
15+
- julia_version: latest
2516

2617

2718
branches:
@@ -36,19 +27,12 @@ notifications:
3627
on_build_status_changed: false
3728

3829
install:
39-
- ps: "[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12"
40-
# Download most recent Julia Windows binary
41-
- ps: (new-object net.webclient).DownloadFile(
42-
$env:JULIA_URL,
43-
"C:\projects\julia-binary.exe")
44-
# Run installer silently, output to C:\projects\julia
45-
- C:\projects\julia-binary.exe /S /D=C:\projects\julia
30+
- ps: iex ((new-object net.webclient).DownloadString("https://raw.githubusercontent.com/JuliaCI/Appveyor.jl/version-1/bin/install.ps1"))
4631

4732
build_script:
48-
# Need to convert from shallow to complete for Pkg.clone to work
49-
- IF EXIST .git\shallow (git fetch --unshallow)
50-
- C:\projects\julia\bin\julia -e "versioninfo();
51-
Pkg.clone(pwd(), \"SymPy\"); Pkg.build(\"SymPy\")"
33+
- echo "%JL_BUILD_SCRIPT%"
34+
- C:\julia\bin\julia -e "%JL_BUILD_SCRIPT%"
5235

5336
test_script:
54-
- C:\projects\julia\bin\julia --check-bounds=yes -e "Pkg.test(\"SymPy\")"
37+
- echo "%JL_TEST_SCRIPT%"
38+
- C:\julia\bin\julia -e "%JL_TEST_SCRIPT%"

0 commit comments

Comments
 (0)