This is an automated email from the ASF dual-hosted git repository.

iblis pushed a commit to branch ib/ci-jl-win
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to refs/heads/ib/ci-jl-win by this push:
     new d688b53  add Project.toml
d688b53 is described below

commit d688b53e8a650bf1382c47662b819974727fe9d9
Author: Iblis Lin <ib...@hs.ntnu.edu.tw>
AuthorDate: Tue Jan 22 18:02:15 2019 +0800

    add Project.toml
---
 ci/windows/test_jl10_cpu.ps1 | 10 ++++------
 julia/.gitignore             |  1 +
 julia/Project.toml           | 26 ++++++++++++++++++++++++++
 julia/REQUIRE                |  2 +-
 4 files changed, 32 insertions(+), 7 deletions(-)

diff --git a/ci/windows/test_jl10_cpu.ps1 b/ci/windows/test_jl10_cpu.ps1
index 4dce827..c04983e 100644
--- a/ci/windows/test_jl10_cpu.ps1
+++ b/ci/windows/test_jl10_cpu.ps1
@@ -38,15 +38,13 @@ if (! $?) { Throw ("Error on installing Julia") }
 
 & $JULIA -e "using InteractiveUtils; versioninfo()"
 
-# workaround a bug of Julia 0.7
-# use PackageSpec(name = "MXNet", path = "...") if we drop the 0.7 support
-Copy-Item -Path .\julia -Recurse -Destination "$env:JULIA_DEPOT_PATH\dev\MXNet"
+dir
 
 $src='
     using Pkg
-    Pkg.develop("MXNet")
-    Pkg.build("MXNet")
-    Pkg.test("MXNet")
+    Pkg.activate(".\julia")
+    Pkg.build()
+    Pkg.test()
 '
 
 $src > .\ci-build.jl
diff --git a/julia/.gitignore b/julia/.gitignore
index 3687ed4..e7b35fa 100644
--- a/julia/.gitignore
+++ b/julia/.gitignore
@@ -8,3 +8,4 @@ deps/src
 deps/usr
 deps/deps.jl
 .vscode
+/Manifest.toml
diff --git a/julia/Project.toml b/julia/Project.toml
new file mode 100644
index 0000000..82a94c5
--- /dev/null
+++ b/julia/Project.toml
@@ -0,0 +1,26 @@
+name = "MXNet"
+uuid = "a7949054-b901-59c6-b8e3-7238c29bf7f0"
+authors = ["Chiyuan Zhang <plus...@gmail.com>", "Valentin Churavy 
<vchur...@mit.edu>", "Iblis Lin <ib...@hs.ntnu.edu.tw>"]
+version = "1.5.0"
+
+[deps]
+BinDeps = "9e28174c-4ba2-5203-b857-d8d62c4213ee"
+Formatting = "59287772-0a20-5a39-b81b-1366585eb4c0"
+JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
+Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
+LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
+MacroTools = "1914dd2f-81c6-5fcd-8719-6d5c9610ff09"
+Markdown = "d6f4376e-aef5-505a-96c1-9c027394607a"
+Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
+Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
+Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
+Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
+
+[compat]
+julia = "≥0.7"
+
+[extras]
+Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
+
+[targets]
+test = ["Test"]
diff --git a/julia/REQUIRE b/julia/REQUIRE
index b53f0c3..8008da3 100644
--- a/julia/REQUIRE
+++ b/julia/REQUIRE
@@ -1,4 +1,4 @@
-julia 0.6
+julia 0.7
 Formatting
 BinDeps
 JSON

Reply via email to