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://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
>>>>    
>>>>
>>>>

Reply via email to