Skip to content

Commit

Permalink
fix tests in Travis and change docker to mltframework
Browse files Browse the repository at this point in the history
  • Loading branch information
ddennedy committed Feb 16, 2020
1 parent 792cf2a commit 39ebe5e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 39ebe5e

Please sign in to comment.