Skip to content

Commit

Permalink
Prepare Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
JeanRessouche committed Aug 30, 2017
1 parent 951687c commit dbc3b13
Show file tree
Hide file tree
Showing 4 changed files with 105 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
### The issue

Describe what is not working as expected.

### Steps to reproduce

Ideally include a complete code listing that we can run to reproduce the issue.
Alternatively, you can provide a project/solution that we can run.

### Error details

If you are seeing an exception, include the full exceptions details (message and stack trace).

```
Exception message:
Stack trace:
```

### Further technical details

Firebird version:
EntityFrameworkCore.Firebird version:

Other details about my project setup:
42 changes: 42 additions & 0 deletions .travis.sources.list
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us-central1.gce.archive.ubuntu.com/ubuntu/ xenial main restricted
deb-src http://us-central1.gce.archive.ubuntu.com/ubuntu/ xenial main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us-central1.gce.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
deb-src http://us-central1.gce.archive.ubuntu.com/ubuntu/ xenial-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://us-central1.gce.archive.ubuntu.com/ubuntu/ xenial universe
deb-src http://us-central1.gce.archive.ubuntu.com/ubuntu/ xenial universe
deb http://us-central1.gce.archive.ubuntu.com/ubuntu/ xenial-updates universe
deb-src http://us-central1.gce.archive.ubuntu.com/ubuntu/ xenial-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us-central1.gce.archive.ubuntu.com/ubuntu/ xenial multiverse
deb-src http://us-central1.gce.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://us-central1.gce.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
deb-src http://us-central1.gce.archive.ubuntu.com/ubuntu/ xenial-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us-central1.gce.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://us-central1.gce.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu xenial-security main restricted
deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu xenial-security universe
deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
32 changes: 32 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
language: csharp
mono: none
dotnet: 2.0.0
dist: trusty
sudo: required

services:
- docker

branches:
only:
- master
- release
- dev
- /^.*-wip$/
- /^(.*\/)?ci-.*$/

before_install:
- docker run -d --name firebird -p 3050:3050 almeida/firebird
- docker run -v $(pwd):/dotnet/:rw -e 'CI=True' --name dotnet --link firebird:firebird -d microsoft/dotnet:2.0.0-sdk sh -c 'while true; do sleep 0.1; done'

script:
- docker exec -it dotnet sh -c 'cd /dotnet && dotnet restore'
- docker exec -it dotnet sh -c 'cd /dotnet && dotnet build -c Release'

notifications:
email:
recipients:
- [email protected]
- [email protected]
on_success: always
on_failure: always
7 changes: 7 additions & 0 deletions EntityFrameworkCore.FirebirdSQL.sln
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ScaffoldingConsoleApp", "Sa
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EFCore.Firebird.AspNetSample", "Samples\AspNetCore\EFCore.Firebird.AspNetSample\EFCore.Firebird.AspNetSample.csproj", "{DF2CF326-D401-4394-9A3A-56F244430EEF}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "GitHub", "GitHub", "{4F90CF35-BA86-4A02-AB92-97DEEDB8219F}"
ProjectSection(SolutionItems) = preProject
.travis.yml = .travis.yml
LICENSE = LICENSE
README.md = README.md
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down

0 comments on commit dbc3b13

Please sign in to comment.