From 951cd089f744d4a7cb90418d1e2795b099440416 Mon Sep 17 00:00:00 2001 From: James Yang Date: Mon, 13 Apr 2020 14:41:49 -0400 Subject: [PATCH 1/5] Try to fix httprequest for coveralls --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 4d099dfa..bb940885 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,6 +31,7 @@ jobs: sources: ['ubuntu-toolchain-r-test'] packages: ['g++-7', 'cmake', 'ninja-build'] before_install: + - pip install requests==2.5.3 - pip install --user cpp-coveralls after_success: - > @@ -38,6 +39,7 @@ jobs: --root ../../ --build-root ./ --include autoppl/include + --exclude lib --gcov 'gcov-7' --gcov-options '\-lp' env: From 929c205b4d65f3b45dafb982b65a976ebd860c5a Mon Sep 17 00:00:00 2001 From: James Yang Date: Mon, 13 Apr 2020 14:44:56 -0400 Subject: [PATCH 2/5] Add sudo for downgrading requests --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index bb940885..68d56085 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,7 +31,7 @@ jobs: sources: ['ubuntu-toolchain-r-test'] packages: ['g++-7', 'cmake', 'ninja-build'] before_install: - - pip install requests==2.5.3 + - sudo pip install requests==2.5.3 - pip install --user cpp-coveralls after_success: - > From 69f9c6d9631dcb108d117545a893ebfb4c4283cf Mon Sep 17 00:00:00 2001 From: James Yang Date: Mon, 13 Apr 2020 14:51:32 -0400 Subject: [PATCH 3/5] Replace with installing httplib2 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 68d56085..9f24689f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,7 +31,7 @@ jobs: sources: ['ubuntu-toolchain-r-test'] packages: ['g++-7', 'cmake', 'ninja-build'] before_install: - - sudo pip install requests==2.5.3 + - pip install -U httplib2 - pip install --user cpp-coveralls after_success: - > From 4c9ecd4f08271942ad6f567bb1236122527c60a4 Mon Sep 17 00:00:00 2001 From: James Yang Date: Mon, 13 Apr 2020 15:03:05 -0400 Subject: [PATCH 4/5] Sudo to install httplib2 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9f24689f..1a94bcbd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,7 +31,7 @@ jobs: sources: ['ubuntu-toolchain-r-test'] packages: ['g++-7', 'cmake', 'ninja-build'] before_install: - - pip install -U httplib2 + - sudo pip install -U httplib2 - pip install --user cpp-coveralls after_success: - > From d69d04b5773dd06bc1bbcf6e0e58a42d5ede5252 Mon Sep 17 00:00:00 2001 From: James Yang Date: Mon, 13 Apr 2020 15:10:04 -0400 Subject: [PATCH 5/5] Try installing requests[security] instead --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 1a94bcbd..e7130246 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,7 +31,7 @@ jobs: sources: ['ubuntu-toolchain-r-test'] packages: ['g++-7', 'cmake', 'ninja-build'] before_install: - - sudo pip install -U httplib2 + - sudo -H pip install --upgrade requests[security] - pip install --user cpp-coveralls after_success: - >