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

Travis: use shell syntax on Windows

This commit is contained in:
Alexander Medvednikov 2019-07-21 21:21:23 +02:00 committed by GitHub
parent 9cad88bdb8
commit d15261ac2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,8 +26,6 @@ matrix:
packages: packages:
- freetype - freetype
- glfw - glfw
#env:
# - MATRIX_EVAL="brew install freetype glfw"
script: script:
- | - |
if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
@ -37,8 +35,8 @@ script:
if [[ "${TRAVIS_OS_NAME}" == "windows" ]]; then if [[ "${TRAVIS_OS_NAME}" == "windows" ]]; then
echo "Running make.bat..." echo "Running make.bat..."
./make.bat ./make.bat
v.exe -o v2.exe compiler ./v.exe -o v2.exe compiler
v2.exe -o v3.exe compiler ./v2.exe -o v3.exe compiler
fi fi
- | - |
if [[ "${TRAVIS_OS_NAME}" != "windows" ]]; then if [[ "${TRAVIS_OS_NAME}" != "windows" ]]; then