Commit 5d2b9a68 authored by Guilherme Becker Agge's avatar Guilherme Becker Agge
Browse files

SCRUM#463: Add more testing stages on CI

parent 6faa6626
Pipeline #16820 passed with stages
in 9 minutes and 22 seconds
......@@ -49,7 +49,6 @@ test:
- ubuntu
- regular
script:
# TODO: find a way to get the dependencies automatically
- apt-get update && apt-get install -y wget
- echo "deb http://repo.c3sl.ufpr.br/le6/ unstable main" > /etc/apt/sources.list.d/le6.list
- wget -O- http://repo.c3sl.ufpr.br/le6/le.c3sl.ufpr.br.key | apt-key add -
......@@ -58,15 +57,6 @@ test:
- echo "Removal test:"
- pkg_name=$(dpkg -I $(pwd)/build/*.deb | grep Package | head -1 | cut -d ':' -f2)
- DEBIAN_FRONTEND=noninteractive apt -y remove $pkg_name
- echo "Getting latest stable package from repo..."
- DEBIAN_FRONTEND=noninteractive apt-get -y install wget
- wget http://repo.c3sl.ufpr.br/le6/dists/stable/main/binary-amd64/Packages
- wget http://repo.c3sl.ufpr.br/le6/$(tail -n +$(grep -n "Package:${pkg_name}" Packages | cut -d ":" -f1) Packages | grep "Filename" | head -1 |cut -d " " -f2)
- echo "Update test:"
- DEBIAN_FRONTEND=noninteractive apt-get -y install $(pwd)/*.deb
- DEBIAN_FRONTEND=noninteractive apt-get -y install $(pwd)/build/*.deb
- echo "Downgrade test:"
- DEBIAN_FRONTEND=noninteractive apt-get -y --allow-downgrades install $(pwd)/*.deb
dependencies:
- build
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment