Skip to content

Commit

Permalink
Move build app-cal to pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
vsafonkin committed Oct 3, 2019
1 parent 39c2829 commit 0a6354d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 18 deletions.
6 changes: 6 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ jobs:
echo -e "install: --no-document --env-shebang\nupdate: --no-document --env-shebang" > ~/.gemrc
bundle install
displayName: "bundle install"
- script: cd ./CalSmokeApp && bundle install
displayName: "CalSmokeApp bundle install"

- script: cd ./CalSmokeApp && make app-cal
displayName: "make app-cal"

- script: bundle exec bin/ci/cucumber.rb
displayName: "cucumber tests"
18 changes: 0 additions & 18 deletions bin/ci/cucumber.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,6 @@ def select_sim_by_name(simctl, regex)
FileUtils.rm_rf("reports")
FileUtils.mkdir_p("reports")

if Luffa::Environment.jenkins_ci?
Luffa::Gem.update_rubygems
Luffa::Gem.uninstall_gem("calabash-cucumber")
Luffa::Gem.uninstall_gem("run_loop")
end

Luffa.unix_command('bundle update',
{:pass_msg => 'bundled',
:fail_msg => 'could not bundle'})

Luffa.unix_command('make clean',
{:pass_msg => 'cleaned',
:fail_msg => 'could not clean'})

Luffa.unix_command('make app-cal',
{:pass_msg => 'built app',
:fail_msg => 'could not build app'})

xcode = RunLoop::Xcode.new
simctl = RunLoop::Simctl.new

Expand Down

0 comments on commit 0a6354d

Please sign in to comment.