Skip to content

Commit ddeb9c8

Browse files
committed
Merge pull request #50 from py3minepi/feature/apt-get-update
Run `apt-get update` before installing things
2 parents 85dc78e + 6730bc8 commit ddeb9c8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.travis-ci.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ GUEST_DEPENDENCIES="sudo python2.7 python3 python-pip python3-pip git"
1616

1717
function setup_arm_chroot {
1818
# Host dependencies
19+
sudo apt-get update
1920
sudo apt-get install -qq -y ${HOST_DEPENDENCIES}
2021

2122
# Create chrooted environment
@@ -74,6 +75,7 @@ if [ "${ARCH}" = "arm" ]; then
7475
setup_arm_chroot
7576
fi
7677
else
78+
sudo apt-get update
7779
sudo apt-get install -qq -y python-pip # Because we might not be running in a Pythonic environment
7880

7981
run_tests

0 commit comments

Comments
 (0)