Skip to content
Permalink
Browse files

TravisCI: RPM creation

  • Loading branch information...
vookimedlo committed May 3, 2019
1 parent 3c54226 commit 71a29a2cb9d8eb026639d17a7baf8ada26738ae0
Showing with 3 additions and 1 deletion.
  1. +3 −1 .travis.yml
@@ -68,7 +68,9 @@ script:
- '[ "$TRAVIS_OS_NAME" != osx ] || bash -c "source /etc/profile && cmake -DCMAKE_BUILD_TYPE=Release ../../"'
- '[ "$TRAVIS_OS_NAME" != osx ] || make'

- '[ "$TRAVIS_OS_NAME" != linux ] || [ "$DEB" != no ] || docker exec linux_docker bash -c "source /etc/profile && cd /root/sources/vooki-image-viewer/build/cmake/unix && ./generate.sh && cd build && make"'
- '[ "$TRAVIS_OS_NAME" != linux ] || [ "$DISTRO" != fedora ] || [ "$CC" != gcc ] || docker exec linux_docker bash -c "source /etc/profile && cd /root/sources/vooki-image-viewer/build/cmake/unix && ./support/package/rpm/create-rpm-snapshot.sh"'
- '[ "$TRAVIS_OS_NAME" != linux ] || [ "$DISTRO" != fedora ] || [ "$CC" != clang ] || docker exec linux_docker bash -c "source /etc/profile && cd /root/sources/vooki-image-viewer/build/cmake/unix && ./generate.sh && cd build && make"'
- '[ "$TRAVIS_OS_NAME" != linux ] || [ "$DEB" != no ] || ([ "$DISTRO" != ubuntu ] && [ "$DISTRO" != debian ]) || docker exec linux_docker bash -c "source /etc/profile && cd /root/sources/vooki-image-viewer/build/cmake/unix && ./generate.sh && cd build && make"'
- '[ "$TRAVIS_OS_NAME" != linux ] || [ "$DEB" != yes ] || docker exec linux_docker bash -c "source /etc/profile && cd /root/sources/vooki-image-viewer/ && ./debian/create-deb-snapshot.sh"'

after_script:

0 comments on commit 71a29a2

Please sign in to comment.
You can’t perform that action at this time.