1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

travis: fix windows

This commit is contained in:
Alexander Medvednikov 2019-07-12 20:58:43 +02:00 committed by GitHub
parent 14bbf766b0
commit 14a8f3dae3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,9 +35,12 @@ script:
fi fi
- | - |
if [[ "${TRAVIS_OS_NAME}" == "windows" ]]; then if [[ "${TRAVIS_OS_NAME}" == "windows" ]]; then
choco install make #choco install make
cp "C:\\ProgramData\\chocolatey\\bin\\gcc.exe" "C:\\ProgramData\\chocolatey\\bin\\cc.exe" cp "C:\\ProgramData\\chocolatey\\bin\\gcc.exe" "C:\\ProgramData\\chocolatey\\bin\\cc.exe"
fi fi
- export VROOT=$(pwd) - export VROOT=$(pwd)
- make - make
- make test - |
if [[ "${TRAVIS_OS_NAME}" != "windows" ]]; then
make test
fi