From 937ef297a9b1552c044958e69e10183aa658e5bf Mon Sep 17 00:00:00 2001 From: lukefromdc Date: Mon, 2 Dec 2024 16:18:03 -0500 Subject: ci: fix travis build failures caused by recent travis changes --- .travis.yml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2f60fec..ec98d38 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,7 +20,9 @@ before_install: - chmod +x docker-build gen-index install: - - pip3 install PyGithub + - sudo apt-get install -y python3-pip python3-setuptools + - sudo pip3 install --upgrade pip + - sudo pip3 install PyGithub - ./docker-build --name ${DISTRO} --config .build.yml --install script: @@ -38,9 +40,17 @@ notifications: on_success: never on_failure: always +before_deploy: + - yes | gem update --system --force + - gem install bundler + - gem install faraday-net_http -v '3.3.0' # Avoid faraday version problem + - gem install uri + - gem install logger + deploy: - provider: pages - edge: true + edge: + branch: v2.0.5 token: $GITHUB_TOKEN keep_history: false committer_from_gh: true @@ -51,7 +61,8 @@ deploy: all_branches: true condition: ${DISTRO} =~ ^fedora.*$ - provider: script - edge: true + edge: + branch: v2.0.5 script: ./docker-build --verbose --config .build.yml --release github on: tags: true -- cgit v1.2.1