-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Starting travis * Fix formatting for rustfmt * Add postgres dependency * Create budgetron user * Try fixing postgres connection again * doot * Keep src/images directory * Simplify a bit
- Loading branch information
Showing
7 changed files
with
37 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DATABASE_URL=postgres://postgres@localhost/budgetron |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
language: rust | ||
rust: | ||
- stable | ||
- 1.21.0 | ||
cache: cargo | ||
services: | ||
- postgresql | ||
install: | ||
- rustup install nightly | ||
- rustup run nightly cargo install --force rustfmt-nightly | ||
- nvm install 6 | ||
- npm install -g yarn | ||
- cargo install --force diesel_cli | ||
- (cd web && yarn) | ||
before_script: | ||
- psql -c 'create database budgetron;' -U postgres | ||
- cp .env.travis .env | ||
script: | ||
- (cd web && yarn run webpack) | ||
- rustup run nightly rustfmt --write-mode=diff src/lib.rs src/bin/budgetron.rs budgetronlib/src/lib.rs data_store/src/lib.rs | ||
- diesel migration run | ||
- cargo build | ||
- cargo test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.