One line breaks ARM build

I’ve been trying to get ARM builds working on my project today. The builds mostly run fine, but I’ve found that including this line:

if [ "$TRAVIS_CPU_ARCH" = "arm64" ]; then sudo -H python -m pip install --upgrade pip; pip install scikit-build; pip install cmake; fi

in the build makes the ARM job not continue at all. It doesn’t even try to run the steps before that. All the others run fine, and removing it causes the job to start normally. Am I missing something here?

Update: I think the – arguments are confusing the yaml parser or something, because when I single quoted them ( '--upgrade'), things started working again.

You can check how your .travis.yml is being parsed at

1 Like

Thank you! I’ve been looking for something like this for a while.