Skip to content
This repository has been archived by the owner on Apr 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #16 from nodes-vapor/hotfix/align-ci
Browse files Browse the repository at this point in the history
Align CI
  • Loading branch information
steffendsommer authored Oct 4, 2017
2 parents 92764f9 + ab4fbaa commit 95e3e89
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 11 deletions.
19 changes: 19 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
jobs:
build:
docker:
- image: buildpack-deps:trusty
steps:
- checkout
- run:
name: Install Swift
command: 'eval "$(curl -sL https://apt.vapor.sh)"'
- run:
name: Install Vapor toolbox
command: |
sudo apt-get install --yes vapor
sudo apt-get install --yes cmysql
sudo chmod -R a+rx /usr/
- run:
name: Run Tests
command: |
swift test -Xswiftc -DNOJSON
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ before_install:
gem install xcpretty;

script:
- set -o pipefail
- swift build
- swift build -c release
- swift package generate-xcodeproj --enable-code-coverage
- xcodebuild -scheme AdminPanelNodesSSO -enableCodeCoverage YES test | xcpretty && exit ${PIPESTATUS[0]}
- xcodebuild -scheme AdminPanelNodesSSO -enableCodeCoverage YES test | xcpretty

after_success:
- bash <(curl -s https://codecov.io/bash)
10 changes: 0 additions & 10 deletions circle.yml

This file was deleted.

0 comments on commit 95e3e89

Please sign in to comment.