AMD64
no language set
Git
api
{
"os": "windows",
"language": "c",
"before_install": [
"case $TRAVIS_OS_NAME in\n windows)\n [[ ! -f C:/tools/msys64/msys2_shell.cmd ]] && rm -rf C:/tools/msys64\n export msys2='cmd //C RefreshEnv.cmd '\n export msys2+='& set MSYS=winsymlinks:nativestrict '\n export msys2+='& C:\\\\tools\\\\msys64\\\\msys2_shell.cmd -defterm -no-start'\n export mingw64=\"$msys2 -mingw64 -full-path -here -c \\$\\* --\"\n export msys2+=\" -msys2 -c \\$\\* --\"\n $msys2 pacman --sync --noconfirm --needed mingw-w64-x86_64-toolchain\n ## Install more MSYS2 packages from https://packages.msys2.org/base here\n taskkill //IM gpg-agent.exe //F # https://travis-ci.community/t/4967\n export PATH=/C/tools/msys64/mingw64/bin:$PATH\n export MAKE=mingw32-make # so that Autotools can find it\n wmic logicaldisk get size,freespace,caption\n ;;\nesac"
],
"before_cache": [
"case $TRAVIS_OS_NAME in\n windows)\n # https://unix.stackexchange.com/a/137322/107554\n $msys2 pacman --sync --clean --noconfirm\n ;;\nesac"
],
"cache": {
"directories": [
"$HOME/AppData/Local/Temp/chocolatey",
"/C/tools/msys64"
]
}
}
cesar-cs/temp:.travis.yml@cd9cb59
os: windows
language: c
before_install:
- |-
case $TRAVIS_OS_NAME in
windows)
[[ ! -f C:/tools/msys64/msys2_shell.cmd ]] && rm -rf C:/tools/msys64
export msys2='cmd //C RefreshEnv.cmd '
export msys2+='& set MSYS=winsymlinks:nativestrict '
export msys2+='& C:\\tools\\msys64\\msys2_shell.cmd -defterm -no-start'
export mingw64="$msys2 -mingw64 -full-path -here -c \$\* --"
export msys2+=" -msys2 -c \$\* --"
$msys2 pacman --sync --noconfirm --needed mingw-w64-x86_64-toolchain
## Install more MSYS2 packages from https://packages.msys2.org/base here
taskkill //IM gpg-agent.exe //F # https://travis-ci.community/t/4967
export PATH=/C/tools/msys64/mingw64/bin:$PATH
export MAKE=mingw32-make # so that Autotools can find it
choco list --local-only
;;
esac
before_cache:
- |-
case $TRAVIS_OS_NAME in
windows)
# https://unix.stackexchange.com/a/137322/107554
$msys2 pacman --sync --clean --noconfirm
;;
esac
cache:
directories:
- $HOME/AppData/Local/Temp/chocolatey
- /C/tools/msys64
Build Config
{
"os": [
"windows"
],
"cache": {
"directories": [
"$HOME/AppData/Local/Temp/chocolatey",
"/C/tools/msys64",
"$HOME/AppData/Local/Temp/chocolatey",
"/C/tools/msys64"
]
},
"language": "c",
"before_cache": [
"case $TRAVIS_OS_NAME in\n windows)\n # https://unix.stackexchange.com/a/137322/107554\n $msys2 pacman --sync --clean --noconfirm\n ;;\nesac",
"case $TRAVIS_OS_NAME in\n windows)\n # https://unix.stackexchange.com/a/137322/107554\n $msys2 pacman --sync --clean --noconfirm\n ;;\nesac"
],
"before_install": [
"case $TRAVIS_OS_NAME in\n windows)\n [[ ! -f C:/tools/msys64/msys2_shell.cmd ]] && rm -rf C:/tools/msys64\n export msys2='cmd //C RefreshEnv.cmd '\n export msys2+='& set MSYS=winsymlinks:nativestrict '\n export msys2+='& C:\\\\tools\\\\msys64\\\\msys2_shell.cmd -defterm -no-start'\n export mingw64=\"$msys2 -mingw64 -full-path -here -c \\$\\* --\"\n export msys2+=\" -msys2 -c \\$\\* --\"\n $msys2 pacman --sync --noconfirm --needed mingw-w64-x86_64-toolchain\n ## Install more MSYS2 packages from https://packages.msys2.org/base here\n taskkill //IM gpg-agent.exe //F # https://travis-ci.community/t/4967\n export PATH=/C/tools/msys64/mingw64/bin:$PATH\n export MAKE=mingw32-make # so that Autotools can find it\n wmic logicaldisk get size,freespace,caption\n ;;\nesac",
"case $TRAVIS_OS_NAME in\n windows)\n [[ ! -f C:/tools/msys64/msys2_shell.cmd ]] && rm -rf C:/tools/msys64\n export msys2='cmd //C RefreshEnv.cmd '\n export msys2+='& set MSYS=winsymlinks:nativestrict '\n export msys2+='& C:\\\\tools\\\\msys64\\\\msys2_shell.cmd -defterm -no-start'\n export mingw64=\"$msys2 -mingw64 -full-path -here -c \\$\\* --\"\n export msys2+=\" -msys2 -c \\$\\* --\"\n $msys2 pacman --sync --noconfirm --needed mingw-w64-x86_64-toolchain\n ## Install more MSYS2 packages from https://packages.msys2.org/base here\n taskkill //IM gpg-agent.exe //F # https://travis-ci.community/t/4967\n export PATH=/C/tools/msys64/mingw64/bin:$PATH\n export MAKE=mingw32-make # so that Autotools can find it\n choco list --local-only\n ;;\nesac"
]
}