#!/bin/bash

set -eux
set -o pipefail

sudo apt-get install -y python3 python3-dev python3-pip swig portaudio19-dev libpulse-dev pocketsphinx-en-us
sudo pip3 install tox

tox -e py35
tox -e lint

#!/bin/bash

set -eux
set -o pipefail

sudo apt-get update
sudo apt-get install -y python3 python3-dev python3-pip swig portaudio19-dev libpulse-dev pocketsphinx-en-us
sudo pip3 install tox

tox -e py35
tox -e lint

Update apt cache before install packages
Update apt cache before install packages

Make sure the apt cache is up-to-date before installing packages