Fix incorrect name of command.

This commit is contained in:
Roman Telezhynskyi 2021-09-24 13:08:12 +03:00
parent 14fd2b30ba
commit 348875f139

View file

@ -10,16 +10,15 @@ env:
# https://cirrus-ci.org/guide/tips-and-tricks/#sharing-configuration-between-tasks
filter_template: &FILTER_TEMPLATE
only_if: $CIRRUS_BRANCH == 'master' || $CIRRUS_BRANCH == 'develop'
skip: "!changesInclude('.cirrus.yml', '**.{h,cpp,c,pro,pri,ts,ui,png}')"
linux_task_template: &LINUX_TASK_TEMPLATE
<< : *FILTER_TEMPLATE
ccache_cache:
folder: "/tmp/ccache_dir"
install_task:
install_script:
- bash -c "$PACKAGE_MANAGER_INSTALL qtbase5-dev libqt5svg5-dev qt5-default qttools5-dev-tools libqt5xmlpatterns5-dev libqt5core5a libqt5gui5 libqt5printsupport5 libqt5svg5 libqt5widgets5 libqt5xml5 libqt5xmlpatterns5 xpdf xvfb ccache"
build_task:
build_script:
- uname -a
- which qmake
- mkdir build
@ -40,7 +39,7 @@ macos_task_template: &MACOS_TASK_TEMPLATE
folder: "/usr/local/Homebrew"
local_homebrew_cache:
folder: "$HOME/Library/Caches/Homebrew"
install_task:
install_script:
- brew cleanup
# Credit https://discourse.brew.sh/t/best-practice-for-homebrew-on-travis-brew-update-is-5min-to-build-time/5215/9
# Cache only .git files under "/usr/local/Homebrew" so "brew update" does not take 5min every build
@ -50,7 +49,7 @@ macos_task_template: &MACOS_TASK_TEMPLATE
- chmod -R 755 /usr/local/opt/qt5/*
- python3 --version
- pip3 install dropbox
build_task:
build_script:
- QTDIR="/usr/local/opt/qt5"
- PATH="$QTDIR/bin:$PATH"
- LDFLAGS=-L$QTDIR/lib
@ -63,7 +62,7 @@ macos_task_template: &MACOS_TASK_TEMPLATE
- qmake ../Valentina.pro -r CONFIG+=noDebugSymbols CONFIG+=no_ccache CONFIG+=checkWarnings CONFIG+=noTests
- "$CXX --version"
- make -j$(nproc)
deploy_task:
deploy_script:
- ../scripts/cirrus-deploy.sh
task: