File tree 1 file changed +14
-7
lines changed 1 file changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,11 @@ environment:
14
14
Config : Debug
15
15
ruby_version : " 21-x64"
16
16
17
+ cache :
18
+ - x86_64-4.9.2-release-win32-seh-rt_v3-rev0.7z
19
+ - C:\Ruby21-x64\lib\ruby\gems\2.1.0
20
+ - C:\Ruby21-x64\bin
21
+
17
22
install :
18
23
- git clone https://github.com/mgreter/sassc.git --branch feature/build-dll-win-mingw
19
24
- git clone https://github.com/sass/sass-spec.git
@@ -22,13 +27,15 @@ install:
22
27
- gem install minitest
23
28
- ps : |
24
29
if ($env:Compiler -eq "mingw") {
25
- # Install MinGW.
26
- $url = "http://sourceforge.net/projects/mingw-w64/files/"
27
- $url += "Toolchains%20targetting%20Win64/Personal%20Builds/"
28
- $url += "mingw-builds/4.9.2/threads-win32/seh/"
29
- $url += "x86_64-4.9.2-release-win32-seh-rt_v3-rev0.7z/download"
30
- Invoke-WebRequest -UserAgent wget -Uri $url -OutFile mingw.7z
31
- &7z x -oC:\ mingw.7z > $null
30
+ if (-Not (Test-Path "x86_64-4.9.2-release-win32-seh-rt_v3-rev0.7z")) {
31
+ # Install MinGW.
32
+ $url = "http://sourceforge.net/projects/mingw-w64/files/"
33
+ $url += "Toolchains%20targetting%20Win64/Personal%20Builds/"
34
+ $url += "mingw-builds/4.9.2/threads-win32/seh/"
35
+ $url += "x86_64-4.9.2-release-win32-seh-rt_v3-rev0.7z/download"
36
+ Invoke-WebRequest -UserAgent wget -Uri $url -OutFile x86_64-4.9.2-release-win32-seh-rt_v3-rev0.7z
37
+ }
38
+ &7z x -oC:\ x86_64-4.9.2-release-win32-seh-rt_v3-rev0.7z > $null
32
39
}
33
40
- set PATH=C:\mingw64\bin;%PATH%
34
41
- set CC=gcc
You can’t perform that action at this time.
0 commit comments