tools: update pkg in bsd-setup.

This circumvents a buggy pkg version in 11.x.
Move env var to the proper place while here.

Change-Id: Ib527a92cf8b542c8478daddf082c696caa296d80
Reviewed-on: https://code.wireshark.org/review/36055
Reviewed-by: Dario Lombardo <lomato@gmail.com>
This commit is contained in:
Dario Lombardo 2020-02-08 13:48:04 +01:00
parent 4c87407a3c
commit 0d68a088fa
1 changed files with 5 additions and 2 deletions

View File

@ -5,9 +5,12 @@ task:
- image_family: freebsd-13-0-snap - image_family: freebsd-13-0-snap
- image_family: freebsd-12-0 - image_family: freebsd-12-0
- image_family: freebsd-11-3-snap - image_family: freebsd-11-3-snap
env:
ASSUME_ALWAYS_YES: YES
setup_script: setup_script:
- env ASSUME_ALWAYS_YES=YES pkg install bash - pkg update -f
- env ASSUME_ALWAYS_YES=YES tools/bsd-setup.sh --install-optional - pkg install bash
- tools/bsd-setup.sh --install-optional
build_script: build_script:
- mkdir build - mkdir build
- cd build - cd build