summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--.travis.yml4
-rw-r--r--appveyor.yml6
2 files changed, 7 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 209c0424f6..34eb5e73d9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -40,6 +40,10 @@ matrix:
before_script: &rust_before_script
- env
+ - sudo apt-get install g++-7 binutils-2.26
+ - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 90
+ - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 90
+ export PATH=/usr/lib/binutils-2.26/bin:${PATH}
script: &rust_script
- cargo build --verbose
- cargo test --verbose
diff --git a/appveyor.yml b/appveyor.yml
index e6a0e0680f..ec272fd61c 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -14,6 +14,9 @@ environment:
RUST_VERSION: stable
RUST_BACKTRACE: "1"
CPP_BUILD_MODES: "Debug"
+ OPENSSL_STATIC: "1"
+ OPENSSL_LIB_DIR: %APPVEYOR_BUILD_FOLDER%\dist-assets\binaries\windows
+ OPENSSL_INCLUDE_DIR: %APPVEYOR_BUILD_FOLDER%\dist-assets\binaries\windows\include
# These are all the build jobs. Adjust as necessary. Comment out what you
# don't need
@@ -50,9 +53,6 @@ install:
test_script:
- bash -x build_windows_modules.sh
- ps: >-
- $Env:OPENSSL_STATIC = "1"
- $Env:OPENSSL_LIB_DIR = $Env:APPVEYOR_BUILD_FOLDER\dist-assets\binaries\windows
- $Env:OPENSSL_INCLUDE_DIR = $Env:APPVEYOR_BUILD_FOLDER\dist-assets\binaries\windows\include
cargo build
cargo test