travis: Fix cmake builds

Make sure that "apt-get update" is called before "apt-get install".
This commit is contained in:
Jon Shallow committed 2020-05-04 10:29:49 +01:00
1 parent df13ff7e0f
commit ef0903adce
1 file changed
+1 -1
+1 -1
View File
@@ -20,7 +20,7 @@ jobs:
- name: setup (linux)
if: startsWith(matrix.os, 'ubuntu')
run: |
sudo apt install libcunit1-dev libmbedtls-dev libgnutls28-dev
sudo apt-get update && sudo apt-get install libcunit1-dev libmbedtls-dev libgnutls28-dev
- name: Create Build Environment
run: cmake -E make_directory ${{runner.workspace}}/build