Re: [julia-users] Re: Unable to set up AppVeyor.

2015-02-26 Thread Ismael VC
Thanks again! I'm finally satisfied with my current setup. Now I can stop
playing around with GitHub and actually focus on the code! :D


Cheers!

On Thu, Feb 26, 2015 at 5:22 AM, Tony Kelman  wrote:

> 32 bit Linux is sort of doable, by manually downloading and extracting the
> 32-bit generic linux binaries, but note that Travis Linux VM's are always
> 64 bit. You probably need to install i386 versions of libc and several
> other basic packages in order to run 32 bit Linux binaries on a 64 bit OS.
>
> Then most Julia packages with binary dependencies are not currently set up
> to cross-build for a different architecture. Things should work properly if
> the actual OS is 32 bit, but trying to make 32 bit Julia along with
> packages and binary dependencies all work inside a 64 bit Travis VM would
> be quite a bit of work.
>
> Hopefully testing on 32-bit Windows, where things generally are set up a
> little better for downloading 32 bit versions of dependencies when running
> 32 bit Julia (even when the OS is 64 bit Windows), should help you identify
> any integer-size or other bugs that may stem from differences between 32
> bit and 64 bit.
>
>
> On Wednesday, February 25, 2015 at 2:44:44 PM UTC-8, Ismael VC wrote:
>>
>> It works! One final doubt, how can I enable testing in Travis for both
>> Linux 32 and 64 bits for both stable and development branches, the way I
>> have it now for AppVeyour with Windows:
>>
>>
>>- https://ci.appveyor.com/project/Ismael-VC/ahn-jl
>>
>>
>> Thank you very much Tony!
>>
>> Cheers
>>
>> El miércoles, 25 de febrero de 2015, 11:13:23 (UTC-6), Tony Kelman
>> escribió:
>>>
>>> You need to use the same link as for nightly builds at the bottom of
>>> julialang.org/downloads, so it's "download/win32" or "download/win64"
>>> for nightlies.
>>>
>>> OSX support on Travis has to be explicitly enabled by sending an email
>>> to them requesting it, but they're not accepting new requests at this time
>>> - see http://docs.travis-ci.com/user/multi-os/. Unless your package has
>>> binary dependencies or does anything especially operating-system-specific
>>> you should probably just focus on getting the Travis Linux testing working
>>> well first.
>>>
>>>
>>> On Wednesday, February 25, 2015 at 7:02:29 AM UTC-8, Ismael VC wrote:

 Ok now that I changed the appveyor file, it no longer finds the
 development versions:

 https://ci.appveyor.com/project/Ismael-VC/ahn-jl/build/1.0.32/job/
 hssfqsl3pjhlm9de

 a[00:00:00] Build started
 [00:00:08] git clone -q --branch=master git://github.com/Ismael-VC/
 AHN.jl.git C:\projects\ahn-jl
 [00:00:13] git checkout -qf 21b4216a09166a97fbc20b24cdb112cfc1bf6cae
 [00:00:13] Running Install scripts
 [00:00:13] if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and
 $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod `
 https://ci.appveyor.com/api/projects/$env:APPVEYOR_
 ACCOUNT_NAME/$env:APPVEYOR_PROJECT_SLUG/history?
 recordsNumber=50).builds | ` Where-Object pullRequestId -eq
 $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { ` throw "There
 are newer queued builds for this pull request, failing early." }
 [00:00:13] (new-object net.webclient).DownloadFile($("
 http://status.julialang.org/"+$env:JULIAVERSION),
 "C:\projects\julia-binary.exe")
 [00:00:16] Exception calling "DownloadFile" with "2" argument(s): "The
 remote server returned an error: (404) Not Found."
 [00:00:16] At line:1 char:43
 [00:00:16] + (new-object net.webclient).DownloadFile($("
 http://status.julialang.org/"+$env:JU ...
 [00:00:16] +
 ~~
 [00:00:16] + CategoryInfo  : NotSpecified: (:) [],
 MethodInvocationException
 [00:00:16] + FullyQualifiedErrorId : WebException
 [00:00:16]
 [00:00:16] Command executed with exception: Exception calling
 "DownloadFile" with "2" argument(s): "The remote server returned an error:
 (404) Not Found."


 What should I put?

 devel/win32
 devel/win34

 unstable/win32
 unstable/win34

 I have not found any reference to this in https://status.julialang.org/

 I have also commented `linux` in my .travis.yml, but it's still tests
 for linux instead:

 https://travis-ci.org/Ismael-VC/AHN.jl/builds/52143873

 El lunes, 23 de febrero de 2015, 23:28:38 (UTC-6), Ismael VC escribió:
>
> This is the log:
>
> [00:00:00] Build started
> [00:00:10] git clone -q --branch=master git://github.com/Ismael-VC/
> AHN.jl.git C:\projects\ahn-jl
> [00:00:17] git checkout -qf 49367576242db296b6cd360e086b0ca4acc0d492
> [00:00:17] Running Install scripts
> [00:00:17] if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and
> $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod `
> https://ci.appveyor.com/api/projects/mlubin/$env:APPVEYOR_
> PROJECT_SLUG/history?recordsNumber=50).builds | ` Wher

[julia-users] Re: Unable to set up AppVeyor.

2015-02-26 Thread Tony Kelman
32 bit Linux is sort of doable, by manually downloading and extracting the 
32-bit generic linux binaries, but note that Travis Linux VM's are always 
64 bit. You probably need to install i386 versions of libc and several 
other basic packages in order to run 32 bit Linux binaries on a 64 bit OS.

Then most Julia packages with binary dependencies are not currently set up 
to cross-build for a different architecture. Things should work properly if 
the actual OS is 32 bit, but trying to make 32 bit Julia along with 
packages and binary dependencies all work inside a 64 bit Travis VM would 
be quite a bit of work.

Hopefully testing on 32-bit Windows, where things generally are set up a 
little better for downloading 32 bit versions of dependencies when running 
32 bit Julia (even when the OS is 64 bit Windows), should help you identify 
any integer-size or other bugs that may stem from differences between 32 
bit and 64 bit.


On Wednesday, February 25, 2015 at 2:44:44 PM UTC-8, Ismael VC wrote:
>
> It works! One final doubt, how can I enable testing in Travis for both 
> Linux 32 and 64 bits for both stable and development branches, the way I 
> have it now for AppVeyour with Windows:
>
>
>- https://ci.appveyor.com/project/Ismael-VC/ahn-jl
>
>
> Thank you very much Tony!
>
> Cheers
>
> El miércoles, 25 de febrero de 2015, 11:13:23 (UTC-6), Tony Kelman 
> escribió:
>>
>> You need to use the same link as for nightly builds at the bottom of 
>> julialang.org/downloads, so it's "download/win32" or "download/win64" 
>> for nightlies.
>>
>> OSX support on Travis has to be explicitly enabled by sending an email to 
>> them requesting it, but they're not accepting new requests at this time - 
>> see http://docs.travis-ci.com/user/multi-os/. Unless your package has 
>> binary dependencies or does anything especially operating-system-specific 
>> you should probably just focus on getting the Travis Linux testing working 
>> well first.
>>
>>
>> On Wednesday, February 25, 2015 at 7:02:29 AM UTC-8, Ismael VC wrote:
>>>
>>> Ok now that I changed the appveyor file, it no longer finds the 
>>> development versions:
>>>
>>>
>>> https://ci.appveyor.com/project/Ismael-VC/ahn-jl/build/1.0.32/job/hssfqsl3pjhlm9de
>>>
>>> a[00:00:00] Build started
>>> [00:00:08] git clone -q --branch=master git://
>>> github.com/Ismael-VC/AHN.jl.git C:\projects\ahn-jl
>>> [00:00:13] git checkout -qf 21b4216a09166a97fbc20b24cdb112cfc1bf6cae
>>> [00:00:13] Running Install scripts
>>> [00:00:13] if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and 
>>> $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod ` 
>>> https://ci.appveyor.com/api/projects/$env:APPVEYOR_ACCOUNT_NAME/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds
>>>  
>>> | ` Where-Object pullRequestId -eq 
>>> $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { ` throw "There are 
>>> newer queued builds for this pull request, failing early." }
>>> [00:00:13] (new-object net.webclient).DownloadFile($("
>>> http://status.julialang.org/"+$env:JULIAVERSION), 
>>> "C:\projects\julia-binary.exe")
>>> [00:00:16] Exception calling "DownloadFile" with "2" argument(s): "The 
>>> remote server returned an error: (404) Not Found."
>>> [00:00:16] At line:1 char:43
>>> [00:00:16] + (new-object net.webclient).DownloadFile($("
>>> http://status.julialang.org/"+$env:JU ...
>>> [00:00:16] +   
>>> ~~
>>> [00:00:16] + CategoryInfo  : NotSpecified: (:) [], 
>>> MethodInvocationException
>>> [00:00:16] + FullyQualifiedErrorId : WebException
>>> [00:00:16]  
>>> [00:00:16] Command executed with exception: Exception calling 
>>> "DownloadFile" with "2" argument(s): "The remote server returned an error: 
>>> (404) Not Found."
>>>
>>>
>>> What should I put?
>>>
>>> devel/win32
>>> devel/win34
>>>
>>> unstable/win32
>>> unstable/win34
>>>
>>> I have not found any reference to this in https://status.julialang.org/
>>>
>>> I have also commented `linux` in my .travis.yml, but it's still tests 
>>> for linux instead:
>>>
>>> https://travis-ci.org/Ismael-VC/AHN.jl/builds/52143873
>>>
>>> El lunes, 23 de febrero de 2015, 23:28:38 (UTC-6), Ismael VC escribió:

 This is the log:

 [00:00:00] Build started
 [00:00:10] git clone -q --branch=master git://
 github.com/Ismael-VC/AHN.jl.git C:\projects\ahn-jl
 [00:00:17] git checkout -qf 49367576242db296b6cd360e086b0ca4acc0d492
 [00:00:17] Running Install scripts
 [00:00:17] if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and 
 $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod ` 
 https://ci.appveyor.com/api/projects/mlubin/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds
  
 | ` Where-Object pullRequestId -eq 
 $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { ` throw "There are 
 newer queued builds for this pull request, failing early." }
 [00:00:17] (new-object net.webclient).DownloadFile($("
 http:

[julia-users] Re: Unable to set up AppVeyor.

2015-02-25 Thread Ismael VC
It works! One final doubt, how can I enable testing in Travis for both 
Linux 32 and 64 bits for both stable and development branches, the way I 
have it now for AppVeyour with Windows:


   - https://ci.appveyor.com/project/Ismael-VC/ahn-jl
   

Thank you very much Tony!

Cheers

El miércoles, 25 de febrero de 2015, 11:13:23 (UTC-6), Tony Kelman escribió:
>
> You need to use the same link as for nightly builds at the bottom of 
> julialang.org/downloads, so it's "download/win32" or "download/win64" for 
> nightlies.
>
> OSX support on Travis has to be explicitly enabled by sending an email to 
> them requesting it, but they're not accepting new requests at this time - 
> see http://docs.travis-ci.com/user/multi-os/. Unless your package has 
> binary dependencies or does anything especially operating-system-specific 
> you should probably just focus on getting the Travis Linux testing working 
> well first.
>
>
> On Wednesday, February 25, 2015 at 7:02:29 AM UTC-8, Ismael VC wrote:
>>
>> Ok now that I changed the appveyor file, it no longer finds the 
>> development versions:
>>
>>
>> https://ci.appveyor.com/project/Ismael-VC/ahn-jl/build/1.0.32/job/hssfqsl3pjhlm9de
>>
>> a[00:00:00] Build started
>> [00:00:08] git clone -q --branch=master git://
>> github.com/Ismael-VC/AHN.jl.git C:\projects\ahn-jl
>> [00:00:13] git checkout -qf 21b4216a09166a97fbc20b24cdb112cfc1bf6cae
>> [00:00:13] Running Install scripts
>> [00:00:13] if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and 
>> $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod ` 
>> https://ci.appveyor.com/api/projects/$env:APPVEYOR_ACCOUNT_NAME/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds
>>  
>> | ` Where-Object pullRequestId -eq 
>> $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { ` throw "There are 
>> newer queued builds for this pull request, failing early." }
>> [00:00:13] (new-object net.webclient).DownloadFile($("
>> http://status.julialang.org/"+$env:JULIAVERSION), 
>> "C:\projects\julia-binary.exe")
>> [00:00:16] Exception calling "DownloadFile" with "2" argument(s): "The 
>> remote server returned an error: (404) Not Found."
>> [00:00:16] At line:1 char:43
>> [00:00:16] + (new-object net.webclient).DownloadFile($("
>> http://status.julialang.org/"+$env:JU ...
>> [00:00:16] +   
>> ~~
>> [00:00:16] + CategoryInfo  : NotSpecified: (:) [], 
>> MethodInvocationException
>> [00:00:16] + FullyQualifiedErrorId : WebException
>> [00:00:16]  
>> [00:00:16] Command executed with exception: Exception calling 
>> "DownloadFile" with "2" argument(s): "The remote server returned an error: 
>> (404) Not Found."
>>
>>
>> What should I put?
>>
>> devel/win32
>> devel/win34
>>
>> unstable/win32
>> unstable/win34
>>
>> I have not found any reference to this in https://status.julialang.org/
>>
>> I have also commented `linux` in my .travis.yml, but it's still tests for 
>> linux instead:
>>
>> https://travis-ci.org/Ismael-VC/AHN.jl/builds/52143873
>>
>> El lunes, 23 de febrero de 2015, 23:28:38 (UTC-6), Ismael VC escribió:
>>>
>>> This is the log:
>>>
>>> [00:00:00] Build started
>>> [00:00:10] git clone -q --branch=master git://
>>> github.com/Ismael-VC/AHN.jl.git C:\projects\ahn-jl
>>> [00:00:17] git checkout -qf 49367576242db296b6cd360e086b0ca4acc0d492
>>> [00:00:17] Running Install scripts
>>> [00:00:17] if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and 
>>> $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod ` 
>>> https://ci.appveyor.com/api/projects/mlubin/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds
>>>  
>>> | ` Where-Object pullRequestId -eq 
>>> $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { ` throw "There are 
>>> newer queued builds for this pull request, failing early." }
>>> [00:00:17] (new-object net.webclient).DownloadFile($("
>>> http://status.julialang.org/download/"+$env:JULIAVERSION), 
>>> "C:\projects\julia-binary.exe")
>>> [00:00:19] C:\projects\julia-binary.exe /S /D=C:\projects\julia
>>> [00:00:19] This version of C:\projects\julia-binary.exe is not 
>>> compatible with the version of Windows you're running. Check your 
>>> computer's system information and then contact the software publisher.
>>> [00:00:19] Command exited with code 1
>>>
>>>
>>>
>>>- 
>>>https://ci.appveyor.com/project/Ismael-VC/ahn-jl/build/1.0.9/messages
>>>
>>>
>>> This is my `appveyor.yml`:
>>>
>>> environment:
>>>   matrix:
>>>   - JULIAVERSION: "stable/win32"
>>>   
>>> skip_commits:
>>> # Add [av skip] to commit messages for docfixes, etc to reduce load on queue
>>>   message: /\[av skip\]/
>>>
>>> install:
>>> # if there's a newer build queued for the same PR, cancel this one
>>>   - ps: if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and 
>>> $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod `
>>> 
>>> https://ci.appveyor.com/api/projects/mlubin/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds
>>>  | `
>>> Where-Object p

[julia-users] Re: Unable to set up AppVeyor.

2015-02-25 Thread Tony Kelman
You need to use the same link as for nightly builds at the bottom of 
julialang.org/downloads, so it's "download/win32" or "download/win64" for 
nightlies.

OSX support on Travis has to be explicitly enabled by sending an email to 
them requesting it, but they're not accepting new requests at this time - 
see http://docs.travis-ci.com/user/multi-os/. Unless your package has 
binary dependencies or does anything especially operating-system-specific 
you should probably just focus on getting the Travis Linux testing working 
well first.


On Wednesday, February 25, 2015 at 7:02:29 AM UTC-8, Ismael VC wrote:
>
> Ok now that I changed the appveyor file, it no longer finds the 
> development versions:
>
>
> https://ci.appveyor.com/project/Ismael-VC/ahn-jl/build/1.0.32/job/hssfqsl3pjhlm9de
>
> a[00:00:00] Build started
> [00:00:08] git clone -q --branch=master git://
> github.com/Ismael-VC/AHN.jl.git C:\projects\ahn-jl
> [00:00:13] git checkout -qf 21b4216a09166a97fbc20b24cdb112cfc1bf6cae
> [00:00:13] Running Install scripts
> [00:00:13] if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and 
> $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod ` 
> https://ci.appveyor.com/api/projects/$env:APPVEYOR_ACCOUNT_NAME/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds
>  
> | ` Where-Object pullRequestId -eq 
> $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { ` throw "There are 
> newer queued builds for this pull request, failing early." }
> [00:00:13] (new-object net.webclient).DownloadFile($("
> http://status.julialang.org/"+$env:JULIAVERSION), 
> "C:\projects\julia-binary.exe")
> [00:00:16] Exception calling "DownloadFile" with "2" argument(s): "The 
> remote server returned an error: (404) Not Found."
> [00:00:16] At line:1 char:43
> [00:00:16] + (new-object net.webclient).DownloadFile($("
> http://status.julialang.org/"+$env:JU ...
> [00:00:16] +   
> ~~
> [00:00:16] + CategoryInfo  : NotSpecified: (:) [], 
> MethodInvocationException
> [00:00:16] + FullyQualifiedErrorId : WebException
> [00:00:16]  
> [00:00:16] Command executed with exception: Exception calling 
> "DownloadFile" with "2" argument(s): "The remote server returned an error: 
> (404) Not Found."
>
>
> What should I put?
>
> devel/win32
> devel/win34
>
> unstable/win32
> unstable/win34
>
> I have not found any reference to this in https://status.julialang.org/
>
> I have also commented `linux` in my .travis.yml, but it's still tests for 
> linux instead:
>
> https://travis-ci.org/Ismael-VC/AHN.jl/builds/52143873
>
> El lunes, 23 de febrero de 2015, 23:28:38 (UTC-6), Ismael VC escribió:
>>
>> This is the log:
>>
>> [00:00:00] Build started
>> [00:00:10] git clone -q --branch=master git://
>> github.com/Ismael-VC/AHN.jl.git C:\projects\ahn-jl
>> [00:00:17] git checkout -qf 49367576242db296b6cd360e086b0ca4acc0d492
>> [00:00:17] Running Install scripts
>> [00:00:17] if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and 
>> $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod ` 
>> https://ci.appveyor.com/api/projects/mlubin/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds
>>  
>> | ` Where-Object pullRequestId -eq 
>> $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { ` throw "There are 
>> newer queued builds for this pull request, failing early." }
>> [00:00:17] (new-object net.webclient).DownloadFile($("
>> http://status.julialang.org/download/"+$env:JULIAVERSION), 
>> "C:\projects\julia-binary.exe")
>> [00:00:19] C:\projects\julia-binary.exe /S /D=C:\projects\julia
>> [00:00:19] This version of C:\projects\julia-binary.exe is not compatible 
>> with the version of Windows you're running. Check your computer's system 
>> information and then contact the software publisher.
>> [00:00:19] Command exited with code 1
>>
>>
>>
>>- 
>>https://ci.appveyor.com/project/Ismael-VC/ahn-jl/build/1.0.9/messages
>>
>>
>> This is my `appveyor.yml`:
>>
>> environment:
>>   matrix:
>>   - JULIAVERSION: "stable/win32"
>>   
>> skip_commits:
>> # Add [av skip] to commit messages for docfixes, etc to reduce load on queue
>>   message: /\[av skip\]/
>>
>> install:
>> # if there's a newer build queued for the same PR, cancel this one
>>   - ps: if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and 
>> $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod `
>> 
>> https://ci.appveyor.com/api/projects/mlubin/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds
>>  | `
>> Where-Object pullRequestId -eq 
>> $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { `
>> throw "There are newer queued builds for this pull request, failing 
>> early." }
>> # Download most recent Julia Windows binary
>>   - ps: (new-object 
>> net.webclient).DownloadFile($("http://status.julialang.org/download/"+$env:JULIAVERSION),
>>  "C:\projects\julia-binary.exe")
>> # Run installer silently, output to C:\projects\julia
>>   - C:\projects\julia-binary.exe /S /D=C:\projects\julia

[julia-users] Re: Unable to set up AppVeyor.

2015-02-25 Thread Ismael VC
Neither `win64`, `devel/win64`, `unstable/win64` or `nightly/win64` work.

El lunes, 23 de febrero de 2015, 23:28:38 (UTC-6), Ismael VC escribió:
>
> This is the log:
>
> [00:00:00] Build started
> [00:00:10] git clone -q --branch=master git://
> github.com/Ismael-VC/AHN.jl.git C:\projects\ahn-jl
> [00:00:17] git checkout -qf 49367576242db296b6cd360e086b0ca4acc0d492
> [00:00:17] Running Install scripts
> [00:00:17] if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and 
> $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod ` 
> https://ci.appveyor.com/api/projects/mlubin/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds
>  
> | ` Where-Object pullRequestId -eq 
> $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { ` throw "There are 
> newer queued builds for this pull request, failing early." }
> [00:00:17] (new-object net.webclient).DownloadFile($("
> http://status.julialang.org/download/"+$env:JULIAVERSION), 
> "C:\projects\julia-binary.exe")
> [00:00:19] C:\projects\julia-binary.exe /S /D=C:\projects\julia
> [00:00:19] This version of C:\projects\julia-binary.exe is not compatible 
> with the version of Windows you're running. Check your computer's system 
> information and then contact the software publisher.
> [00:00:19] Command exited with code 1
>
>
>
>- https://ci.appveyor.com/project/Ismael-VC/ahn-jl/build/1.0.9/messages
>
>
> This is my `appveyor.yml`:
>
> environment:
>   matrix:
>   - JULIAVERSION: "stable/win32"
>   
> skip_commits:
> # Add [av skip] to commit messages for docfixes, etc to reduce load on queue
>   message: /\[av skip\]/
>
> install:
> # if there's a newer build queued for the same PR, cancel this one
>   - ps: if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and $env:APPVEYOR_BUILD_NUMBER 
> -ne ((Invoke-RestMethod `
> 
> https://ci.appveyor.com/api/projects/mlubin/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds
>  | `
> Where-Object pullRequestId -eq 
> $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { `
> throw "There are newer queued builds for this pull request, failing 
> early." }
> # Download most recent Julia Windows binary
>   - ps: (new-object 
> net.webclient).DownloadFile($("http://status.julialang.org/download/"+$env:JULIAVERSION),
>  "C:\projects\julia-binary.exe")
> # Run installer silently, output to C:\projects\julia
>   - C:\projects\julia-binary.exe /S /D=C:\projects\julia
>
> build_script:
> # Need to convert from shallow to complete for Pkg.clone to work
>   - IF EXIST .git\shallow (git fetch --unshallow)
>   - C:\projects\julia\bin\julia-debug -e "versioninfo(); Pkg.init(); 
> Pkg.clone(pwd(), \"AHN\")"
>
> test_script:
>   - C:\projects\julia\bin\julia-debug -e "Pkg.test(\"AHN\")"
>
>
>
>- https://github.com/Ismael-VC/AHN.jl/blob/master/appveyor.yml
>
>
>

[julia-users] Re: Unable to set up AppVeyor.

2015-02-25 Thread Ismael VC
Ok now that I changed the appveyor file, it no longer finds the development 
versions:

https://ci.appveyor.com/project/Ismael-VC/ahn-jl/build/1.0.32/job/hssfqsl3pjhlm9de

a[00:00:00] Build started
[00:00:08] git clone -q --branch=master 
git://github.com/Ismael-VC/AHN.jl.git C:\projects\ahn-jl
[00:00:13] git checkout -qf 21b4216a09166a97fbc20b24cdb112cfc1bf6cae
[00:00:13] Running Install scripts
[00:00:13] if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and 
$env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod ` 
https://ci.appveyor.com/api/projects/$env:APPVEYOR_ACCOUNT_NAME/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds
 
| ` Where-Object pullRequestId -eq 
$env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { ` throw "There are 
newer queued builds for this pull request, failing early." }
[00:00:13] (new-object 
net.webclient).DownloadFile($("http://status.julialang.org/"+$env:JULIAVERSION),
 
"C:\projects\julia-binary.exe")
[00:00:16] Exception calling "DownloadFile" with "2" argument(s): "The 
remote server returned an error: (404) Not Found."
[00:00:16] At line:1 char:43
[00:00:16] + (new-object 
net.webclient).DownloadFile($("http://status.julialang.org/"+$env:JU ...
[00:00:16] +   
~~
[00:00:16] + CategoryInfo  : NotSpecified: (:) [], 
MethodInvocationException
[00:00:16] + FullyQualifiedErrorId : WebException
[00:00:16]  
[00:00:16] Command executed with exception: Exception calling 
"DownloadFile" with "2" argument(s): "The remote server returned an error: 
(404) Not Found."


What should I put?

devel/win32
devel/win34

unstable/win32
unstable/win34

I have not found any reference to this in https://status.julialang.org/

I have also commented `linux` in my .travis.yml, but it's still tests for 
linux instead:

https://travis-ci.org/Ismael-VC/AHN.jl/builds/52143873

El lunes, 23 de febrero de 2015, 23:28:38 (UTC-6), Ismael VC escribió:
>
> This is the log:
>
> [00:00:00] Build started
> [00:00:10] git clone -q --branch=master git://
> github.com/Ismael-VC/AHN.jl.git C:\projects\ahn-jl
> [00:00:17] git checkout -qf 49367576242db296b6cd360e086b0ca4acc0d492
> [00:00:17] Running Install scripts
> [00:00:17] if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and 
> $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod ` 
> https://ci.appveyor.com/api/projects/mlubin/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds
>  
> | ` Where-Object pullRequestId -eq 
> $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { ` throw "There are 
> newer queued builds for this pull request, failing early." }
> [00:00:17] (new-object net.webclient).DownloadFile($("
> http://status.julialang.org/download/"+$env:JULIAVERSION), 
> "C:\projects\julia-binary.exe")
> [00:00:19] C:\projects\julia-binary.exe /S /D=C:\projects\julia
> [00:00:19] This version of C:\projects\julia-binary.exe is not compatible 
> with the version of Windows you're running. Check your computer's system 
> information and then contact the software publisher.
> [00:00:19] Command exited with code 1
>
>
>
>- https://ci.appveyor.com/project/Ismael-VC/ahn-jl/build/1.0.9/messages
>
>
> This is my `appveyor.yml`:
>
> environment:
>   matrix:
>   - JULIAVERSION: "stable/win32"
>   
> skip_commits:
> # Add [av skip] to commit messages for docfixes, etc to reduce load on queue
>   message: /\[av skip\]/
>
> install:
> # if there's a newer build queued for the same PR, cancel this one
>   - ps: if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and $env:APPVEYOR_BUILD_NUMBER 
> -ne ((Invoke-RestMethod `
> 
> https://ci.appveyor.com/api/projects/mlubin/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds
>  | `
> Where-Object pullRequestId -eq 
> $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { `
> throw "There are newer queued builds for this pull request, failing 
> early." }
> # Download most recent Julia Windows binary
>   - ps: (new-object 
> net.webclient).DownloadFile($("http://status.julialang.org/download/"+$env:JULIAVERSION),
>  "C:\projects\julia-binary.exe")
> # Run installer silently, output to C:\projects\julia
>   - C:\projects\julia-binary.exe /S /D=C:\projects\julia
>
> build_script:
> # Need to convert from shallow to complete for Pkg.clone to work
>   - IF EXIST .git\shallow (git fetch --unshallow)
>   - C:\projects\julia\bin\julia-debug -e "versioninfo(); Pkg.init(); 
> Pkg.clone(pwd(), \"AHN\")"
>
> test_script:
>   - C:\projects\julia\bin\julia-debug -e "Pkg.test(\"AHN\")"
>
>
>
>- https://github.com/Ismael-VC/AHN.jl/blob/master/appveyor.yml
>
>
>

[julia-users] Re: Unable to set up AppVeyor.

2015-02-25 Thread Ismael VC
Tony, I've updated according to your comment. I also have a doubt about 
Travis. How can I test for OSX, right now it's only testing for Linux (both 
release and nightly), perhaps it's because I'm using a regular account? 
(though thats how the `.travis.yml` file comes out from `Pkg.generate`)

language: julia

os:
  - linux
  - osx

julia:
  - release
  - nightly

notifications:
  email: false

# uncomment the following lines to override the default test script
# script:
#   - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
#   - julia --check-bounds=yes -e 'Pkg.clone(pwd()); Pkg.build("AHN"); 
Pkg.test("AHN"; coverage=true)'


After editing `appveyor.yaml` I can finally test automatically on stable 
and devel for both 32 and 64 bits for windows, thank you very much!

El miércoles, 25 de febrero de 2015, 3:49:01 (UTC-6), Tony Kelman escribió:
>
> A few things are wrong there. If you want to test on stable, then 
> JULIAVERSION should be "stable/win32" or "stable/win64", and the line in 
> install that downloads the binary should say $("
> http://status.julialang.org/"+$env:JULIAVERSION), i.e. not include 
> download in it.
>
> You'll also want to replace "mlubin" with $env:APPVEYOR_ACCOUNT_NAME.
>
>
> On Monday, February 23, 2015 at 9:28:38 PM UTC-8, Ismael VC wrote:
>>
>> This is the log:
>>
>> [00:00:00] Build started
>> [00:00:10] git clone -q --branch=master git://
>> github.com/Ismael-VC/AHN.jl.git C:\projects\ahn-jl
>> [00:00:17] git checkout -qf 49367576242db296b6cd360e086b0ca4acc0d492
>> [00:00:17] Running Install scripts
>> [00:00:17] if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and 
>> $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod ` 
>> https://ci.appveyor.com/api/projects/mlubin/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds
>>  
>> | ` Where-Object pullRequestId -eq 
>> $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { ` throw "There are 
>> newer queued builds for this pull request, failing early." }
>> [00:00:17] (new-object net.webclient).DownloadFile($("
>> http://status.julialang.org/download/"+$env:JULIAVERSION), 
>> "C:\projects\julia-binary.exe")
>> [00:00:19] C:\projects\julia-binary.exe /S /D=C:\projects\julia
>> [00:00:19] This version of C:\projects\julia-binary.exe is not compatible 
>> with the version of Windows you're running. Check your computer's system 
>> information and then contact the software publisher.
>> [00:00:19] Command exited with code 1
>>
>>
>>
>>- 
>>https://ci.appveyor.com/project/Ismael-VC/ahn-jl/build/1.0.9/messages
>>
>>
>> This is my `appveyor.yml`:
>>
>> environment:
>>   matrix:
>>   - JULIAVERSION: "stable/win32"
>>   
>> skip_commits:
>> # Add [av skip] to commit messages for docfixes, etc to reduce load on queue
>>   message: /\[av skip\]/
>>
>> install:
>> # if there's a newer build queued for the same PR, cancel this one
>>   - ps: if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and 
>> $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod `
>> 
>> https://ci.appveyor.com/api/projects/mlubin/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds
>>  | `
>> Where-Object pullRequestId -eq 
>> $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { `
>> throw "There are newer queued builds for this pull request, failing 
>> early." }
>> # Download most recent Julia Windows binary
>>   - ps: (new-object 
>> net.webclient).DownloadFile($("http://status.julialang.org/download/"+$env:JULIAVERSION),
>>  "C:\projects\julia-binary.exe")
>> # Run installer silently, output to C:\projects\julia
>>   - C:\projects\julia-binary.exe /S /D=C:\projects\julia
>>
>> build_script:
>> # Need to convert from shallow to complete for Pkg.clone to work
>>   - IF EXIST .git\shallow (git fetch --unshallow)
>>   - C:\projects\julia\bin\julia-debug -e "versioninfo(); Pkg.init(); 
>> Pkg.clone(pwd(), \"AHN\")"
>>
>> test_script:
>>   - C:\projects\julia\bin\julia-debug -e "Pkg.test(\"AHN\")"
>>
>>
>>
>>- https://github.com/Ismael-VC/AHN.jl/blob/master/appveyor.yml
>>
>>
>>

[julia-users] Re: Unable to set up AppVeyor.

2015-02-25 Thread Tony Kelman
A few things are wrong there. If you want to test on stable, then 
JULIAVERSION should be "stable/win32" or "stable/win64", and the line in 
install that downloads the binary should say 
$("http://status.julialang.org/"+$env:JULIAVERSION), i.e. not include 
download in it.

You'll also want to replace "mlubin" with $env:APPVEYOR_ACCOUNT_NAME.


On Monday, February 23, 2015 at 9:28:38 PM UTC-8, Ismael VC wrote:
>
> This is the log:
>
> [00:00:00] Build started
> [00:00:10] git clone -q --branch=master git://
> github.com/Ismael-VC/AHN.jl.git C:\projects\ahn-jl
> [00:00:17] git checkout -qf 49367576242db296b6cd360e086b0ca4acc0d492
> [00:00:17] Running Install scripts
> [00:00:17] if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and 
> $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod ` 
> https://ci.appveyor.com/api/projects/mlubin/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds
>  
> | ` Where-Object pullRequestId -eq 
> $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { ` throw "There are 
> newer queued builds for this pull request, failing early." }
> [00:00:17] (new-object net.webclient).DownloadFile($("
> http://status.julialang.org/download/"+$env:JULIAVERSION), 
> "C:\projects\julia-binary.exe")
> [00:00:19] C:\projects\julia-binary.exe /S /D=C:\projects\julia
> [00:00:19] This version of C:\projects\julia-binary.exe is not compatible 
> with the version of Windows you're running. Check your computer's system 
> information and then contact the software publisher.
> [00:00:19] Command exited with code 1
>
>
>
>- https://ci.appveyor.com/project/Ismael-VC/ahn-jl/build/1.0.9/messages
>
>
> This is my `appveyor.yml`:
>
> environment:
>   matrix:
>   - JULIAVERSION: "stable/win32"
>   
> skip_commits:
> # Add [av skip] to commit messages for docfixes, etc to reduce load on queue
>   message: /\[av skip\]/
>
> install:
> # if there's a newer build queued for the same PR, cancel this one
>   - ps: if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and $env:APPVEYOR_BUILD_NUMBER 
> -ne ((Invoke-RestMethod `
> 
> https://ci.appveyor.com/api/projects/mlubin/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds
>  | `
> Where-Object pullRequestId -eq 
> $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { `
> throw "There are newer queued builds for this pull request, failing 
> early." }
> # Download most recent Julia Windows binary
>   - ps: (new-object 
> net.webclient).DownloadFile($("http://status.julialang.org/download/"+$env:JULIAVERSION),
>  "C:\projects\julia-binary.exe")
> # Run installer silently, output to C:\projects\julia
>   - C:\projects\julia-binary.exe /S /D=C:\projects\julia
>
> build_script:
> # Need to convert from shallow to complete for Pkg.clone to work
>   - IF EXIST .git\shallow (git fetch --unshallow)
>   - C:\projects\julia\bin\julia-debug -e "versioninfo(); Pkg.init(); 
> Pkg.clone(pwd(), \"AHN\")"
>
> test_script:
>   - C:\projects\julia\bin\julia-debug -e "Pkg.test(\"AHN\")"
>
>
>
>- https://github.com/Ismael-VC/AHN.jl/blob/master/appveyor.yml
>
>
>