Skip to content

Commit

Permalink
Fix the CI
Browse files Browse the repository at this point in the history
* Caused by the release of url 2.1.1
  See servo/rust-url#579 for details

* A mysql release seems to have broken the macos setup, so use a
absulute path there
  • Loading branch information
weiznich committed Jan 14, 2020
1 parent f5b15e5 commit b6c5dec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
brew services start mysql &&
brew services stop mysql;sleep 3;brew services start mysql &&
sleep 2 &&
mysql -e "create database diesel_test; create database diesel_unit_test; grant all on \`diesel_%\`.* to 'root'@'localhost';" -uroot
/usr/local/mysql/bin/mysql -e "create database diesel_test; create database diesel_unit_test; grant all on \`diesel_%\`.* to 'root'@'localhost';" -uroot
displayName: Install mysql
- template: _build/azure-pipelines-template.yml
Expand Down
2 changes: 1 addition & 1 deletion diesel_cli/tests/support/project_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ impl Project {

let mut db_url =
url::Url::parse(&env::var_os(var).unwrap().into_string().unwrap()).unwrap();
db_url.set_path(&format!("diesel_{}", &self.name));
db_url.set_path(&format!("/diesel_{}", &self.name));
db_url
}

Expand Down

0 comments on commit b6c5dec

Please sign in to comment.