mirror of https://github.com/buggins/dlangui.git
Remove unnecessary files
This commit is contained in:
parent
a2572ecdaa
commit
72321c0b4a
53
.travis.yml
53
.travis.yml
|
@ -1,53 +0,0 @@
|
||||||
sudo: false
|
|
||||||
dist: trusty
|
|
||||||
|
|
||||||
language: d
|
|
||||||
|
|
||||||
os:
|
|
||||||
- linux
|
|
||||||
- osx
|
|
||||||
|
|
||||||
d:
|
|
||||||
- dmd
|
|
||||||
- dmd-beta
|
|
||||||
- ldc
|
|
||||||
- ldc-beta
|
|
||||||
|
|
||||||
env:
|
|
||||||
- ARCH=x86_64 CONFIG=default
|
|
||||||
- ARCH=x86_64 CONFIG=minimal
|
|
||||||
- ARCH=x86_64 CONFIG=x11
|
|
||||||
- ARCH=x86_64 CONFIG=console
|
|
||||||
- ARCH=x86 CONFIG=default
|
|
||||||
- ARCH=x86 CONFIG=minimal
|
|
||||||
- ARCH=x86 CONFIG=x11
|
|
||||||
- ARCH=x86 CONFIG=console
|
|
||||||
|
|
||||||
# No-one cares about OS X x86 and X11 on OSX
|
|
||||||
matrix:
|
|
||||||
exclude:
|
|
||||||
- os: osx
|
|
||||||
env: ARCH=x86 CONFIG=default
|
|
||||||
- os: osx
|
|
||||||
env: ARCH=x86 CONFIG=minimal
|
|
||||||
- os: osx
|
|
||||||
env: ARCH=x86 CONFIG=x11
|
|
||||||
- os: osx
|
|
||||||
env: ARCH=x86_64 CONFIG=x11
|
|
||||||
|
|
||||||
addons:
|
|
||||||
apt:
|
|
||||||
packages:
|
|
||||||
- gcc-multilib
|
|
||||||
- libx11-dev
|
|
||||||
- libx11-dev:i386
|
|
||||||
- zlib1g-dev
|
|
||||||
- zlib1g-dev:i386
|
|
||||||
|
|
||||||
script:
|
|
||||||
- dub test --compiler=${DC} --arch=${ARCH} --config=${CONFIG}
|
|
||||||
- dub build --compiler=${DC} --arch=${ARCH} --config=${CONFIG} :example1
|
|
||||||
- file examples/example1/bin/example1
|
|
||||||
- ls -lh examples/example1/bin/example1
|
|
||||||
- strip examples/example1/bin/example1
|
|
||||||
- ls -lh examples/example1/bin/example1
|
|
90
appveyor.yml
90
appveyor.yml
|
@ -1,90 +0,0 @@
|
||||||
platform:
|
|
||||||
- x86
|
|
||||||
- x64
|
|
||||||
|
|
||||||
environment:
|
|
||||||
matrix:
|
|
||||||
- DC: dmd
|
|
||||||
DVersion: 2.075.0
|
|
||||||
- DC: ldc
|
|
||||||
DVersion: 1.3.0
|
|
||||||
|
|
||||||
matrix:
|
|
||||||
allow_failures:
|
|
||||||
- DC: ldc
|
|
||||||
|
|
||||||
install:
|
|
||||||
- ps: function SetUpDCompiler
|
|
||||||
{
|
|
||||||
if($env:DC -eq "dmd"){
|
|
||||||
if($env:platform -eq "x86"){
|
|
||||||
$env:DConf = "m32";
|
|
||||||
}
|
|
||||||
elseif($env:platform -eq "x64"){
|
|
||||||
$env:DConf = "m64";
|
|
||||||
}
|
|
||||||
echo "downloading ...";
|
|
||||||
$env:toolchain = "msvc";
|
|
||||||
$version = $env:DVersion;
|
|
||||||
Invoke-WebRequest "http://downloads.dlang.org/releases/2.x/$($version)/dmd.$($version).windows.7z" -OutFile "c:\dmd.7z";
|
|
||||||
echo "finished.";
|
|
||||||
pushd c:\\;
|
|
||||||
7z x dmd.7z > $null;
|
|
||||||
popd;
|
|
||||||
}
|
|
||||||
elseif($env:DC -eq "ldc"){
|
|
||||||
if($env:platform -eq "x86"){
|
|
||||||
$env:DConf = "m32";
|
|
||||||
$env:Dmodel = "32";
|
|
||||||
}
|
|
||||||
elseif($env:platform -eq "x64"){
|
|
||||||
$env:DConf = "m64";
|
|
||||||
$env:Dmodel = "64";
|
|
||||||
}
|
|
||||||
echo "downloading ...";
|
|
||||||
$env:toolchain = "msvc";
|
|
||||||
$version = $env:DVersion;
|
|
||||||
Invoke-WebRequest "https://github.com/ldc-developers/ldc/releases/download/v$($version)/ldc2-$($version)-win$($env:Dmodel)-msvc.zip" -OutFile "c:\ldc.zip";
|
|
||||||
echo "finished.";
|
|
||||||
pushd c:\\;
|
|
||||||
7z x ldc.zip > $null;
|
|
||||||
popd;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
- ps: SetUpDCompiler
|
|
||||||
|
|
||||||
before_build:
|
|
||||||
- ps: if($env:platform -eq "x86"){
|
|
||||||
$env:compilersetupargs = "x86";
|
|
||||||
$env:Darch = "x86";
|
|
||||||
$env:Dmodel = "32";
|
|
||||||
}
|
|
||||||
elseif($env:platform -eq "x64"){
|
|
||||||
$env:compilersetupargs = "amd64";
|
|
||||||
$env:Darch = "x86_64";
|
|
||||||
$env:Dmodel = "64";
|
|
||||||
}
|
|
||||||
- ps : if($env:DC -eq "dmd"){
|
|
||||||
$env:PATH += ";C:\dmd2\windows\bin;";
|
|
||||||
$env:PATH += ";C:\dub";
|
|
||||||
}
|
|
||||||
elseif($env:DC -eq "ldc"){
|
|
||||||
$version = $env:DVersion;
|
|
||||||
$model = $env:Dmodel;
|
|
||||||
$env:PATH += ";C:\ldc2-$($version)-win$($model)-msvc\bin";
|
|
||||||
$env:DC = "ldc2";
|
|
||||||
}
|
|
||||||
- ps: $env:compilersetup = "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall";
|
|
||||||
- '"%compilersetup%" %compilersetupargs%'
|
|
||||||
|
|
||||||
build_script:
|
|
||||||
- echo dummy build script - dont remove me
|
|
||||||
|
|
||||||
test_script:
|
|
||||||
- echo %APPVEYOR_JOB_NAME%
|
|
||||||
- echo %PLATFORM%
|
|
||||||
- echo %DC%
|
|
||||||
- echo %PATH%
|
|
||||||
- '%DC% --version'
|
|
||||||
- dub --version
|
|
||||||
- dub test --arch=%Darch% --compiler=%DC%
|
|
Loading…
Reference in New Issue