summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlukefromdc <[email protected]>2024-12-02 16:18:03 -0500
committerLuke from DC <[email protected]>2024-12-06 08:46:48 +0000
commit937ef297a9b1552c044958e69e10183aa658e5bf (patch)
treee60623d4086224904f12af6155b8fb8505fcbe41
parent6561790b03041e1c888c309ef17912058ae5aa2e (diff)
downloadmate-power-manager-937ef297a9b1552c044958e69e10183aa658e5bf.tar.bz2
mate-power-manager-937ef297a9b1552c044958e69e10183aa658e5bf.tar.xz
ci: fix travis build failures caused by recent travis changesHEADmaster
-rw-r--r--.travis.yml17
1 files 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