Run apt update before installing

master
Jiajie Chen 6 years ago
parent cb24d32d21
commit 107306b9ce

@ -56,6 +56,7 @@ install:
fi fi
- if [ $ARCH = x86_64 ]; then - if [ $ARCH = x86_64 ]; then
if [ $TRAVIS_OS_NAME = linux ]; then if [ $TRAVIS_OS_NAME = linux ]; then
sudo apt update;
sudo apt install musl-tools; sudo apt install musl-tools;
elif [ $TRAVIS_OS_NAME = osx ]; then elif [ $TRAVIS_OS_NAME = osx ]; then
brew tap altkatz/homebrew-gcc_cross_compilers; brew tap altkatz/homebrew-gcc_cross_compilers;

Loading…
Cancel
Save