Skip to content

Commit d31afd9

Browse files
committed
Install bison and flex
1 parent 03b6354 commit d31afd9

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.travis.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,20 @@ os:
44
language: c
55

66
before_install:
7+
- |
8+
[[ ! -f C:/tools/msys64/msys2_shell.cmd ]] && rm -rf C:/tools/msys64
9+
choco uninstall -y mingw
10+
choco upgrade --no-progress -y msys2
11+
export msys2='cmd //C RefreshEnv.cmd '
12+
export msys2+='& set MSYS=winsymlinks:nativestrict '
13+
export msys2+='& C:\\tools\\msys64\\msys2_shell.cmd -defterm -no-start'
14+
export mingw64="$msys2 -mingw64 -full-path -here -c "\"\$@"\" --"
15+
export msys2+=" -msys2 -c "\"\$@"\" --"
16+
$msys2 pacman --sync --noconfirm --needed mingw-w64-x86_64-toolchain bison flex
17+
## Install more MSYS2 packages from https://packages.msys2.org/base here
18+
taskkill //IM gpg-agent.exe //F # https://travis-ci.community/t/4967
19+
export PATH=/C/tools/msys64/mingw64/bin:$PATH
20+
export MAKE=mingw32-make # so that Autotools can find it
721
- git clone -b REL_14_STABLE --single-branch --depth 1 https://github.com/postgres/postgres.git
822
- cd postgres/src/tools/msvc
923
- cp config_default.pl config.pl

0 commit comments

Comments
 (0)