From 39ebe5e4642fcbabaa9d67f5b6b4ea238455406b Mon Sep 17 00:00:00 2001 From: Dan Dennedy Date: Sun, 16 Feb 2020 14:20:45 -0800 Subject: [PATCH] fix tests in Travis and change docker to mltframework --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index a2a420cfc..bb04f937c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,10 +6,10 @@ matrix: before_install: - docker pull ubuntu:16.04 script: - - docker run -v $PWD:/root -w /root ubuntu:16.04 /bin/sh -c "sed -i -e 's/# deb-src/deb-src/' /etc/apt/sources.list && apt-get -qq update && apt-get -y build-dep melt && apt-get -y qt5-qmake && ./configure --enable-gpl --enable-gpl3 --enable-lumas && make -j && make install && qmake src/tests && make -j && for test in $(find . -type f -name 'test_*' -executable); do $test; done" - - docker build -t ddennedy/melt:latest . + - docker run -v $PWD:/root -w /root ubuntu:16.04 /bin/sh -c "sed -i -e 's/# deb-src/deb-src/' /etc/apt/sources.list && apt-get -qq update && apt-get -y build-dep melt && apt-get -y install qt5-default locales && ./configure --prefix=/usr --enable-gpl --enable-gpl3 --enable-lumas && make -j && make install && cd src/tests && qmake tests.pro && make -j && echo de_DE.UTF-8 UTF-8 >> /etc/locale.gen && locale-gen && for test in \$(find . -type f -name 'test_*' -executable); do \$test; done" + - docker build -t mltframework/melt:latest . - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin - - docker push ddennedy/melt + - docker push mltframework/melt - language: python python: 3.7 dist: xenial # required for Python >= 3.7 (travis-ci/travis-ci#9069)