Skip to content

Commit

Permalink
Added Circle CI configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Shashikant86 committed Sep 24, 2017
1 parent c5bd635 commit 3501c9c
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 12 deletions.
20 changes: 8 additions & 12 deletions circle.yml
@@ -1,21 +1,17 @@
machine:
xcode:
version: "9.0"

dependencies:
pre:
- sudo apt-get install clang libicu-dev binutils
- wget https://swift.org/builds/swift-4.0-branch/ubuntu1404/swift-4.0-DEVELOPMENT-SNAPSHOT-2017-09-15-a/swift-4.0-DEVELOPMENT-SNAPSHOT-2017-09-15-a-ubuntu14.04.tar.gz
- tar -xvf swift-4.0-DEVELOPMENT-SNAPSHOT-2017-09-15-a-ubuntu14.04.tar.gz
- mv swift-4.0-DEVELOPMENT-SNAPSHOT-2017-09-15-a-ubuntu14.04 swift-4.0.0
- sudo mv swift-4.0.0 /opt/
- echo 'export SWIFT_ROOT="/opt/swift-4.0.0"' >> ~/.bashrc
- echo 'export PATH="$SWIFT_ROOT/usr/bin:$PATH"' >> ~/.bashrc
- source ~/.bashrc
- gem install fastlane --no-ri --no-rdoc --no-document
- brew install carthage

cache_directories:
- "XCFit-Example/Carthage"

test:
override:
# - ./scripts/swift
- swift --version
# - swift build
# - swift test
- cd XCFit-Example
- carthage bootstrap --platform iOS
- fastlane scan -s XCFit-Example
21 changes: 21 additions & 0 deletions linux-circle.yml
@@ -0,0 +1,21 @@
machine:
xcode:
version: "9.0"

dependencies:
pre:
- sudo apt-get install clang libicu-dev binutils
- wget https://swift.org/builds/swift-4.0-branch/ubuntu1404/swift-4.0-DEVELOPMENT-SNAPSHOT-2017-09-15-a/swift-4.0-DEVELOPMENT-SNAPSHOT-2017-09-15-a-ubuntu14.04.tar.gz
- tar -xvf swift-4.0-DEVELOPMENT-SNAPSHOT-2017-09-15-a-ubuntu14.04.tar.gz
- mv swift-4.0-DEVELOPMENT-SNAPSHOT-2017-09-15-a-ubuntu14.04 swift-4.0.0
- sudo mv swift-4.0.0 /opt/
- echo 'export SWIFT_ROOT="/opt/swift-4.0.0"' >> ~/.bashrc
- echo 'export PATH="$SWIFT_ROOT/usr/bin:$PATH"' >> ~/.bashrc
- source ~/.bashrc

test:
override:
# - ./scripts/swift
- swift --version
# - swift build
# - swift test

0 comments on commit 3501c9c

Please sign in to comment.