Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Configure the build #3

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Configure the build #3

wants to merge 2 commits into from

Conversation

github-learning-lab[bot]
Copy link
Contributor

In this pull request, I've added some tests to help ensure the project builds. This is just one example of how you can customize specific validations that will be ran when your CI starts a build. I need you to add a script to build our project in the .travis.yml file.

@github-learning-lab
Copy link
Contributor Author

Step 4: Add validation

Build your site.

⌨️ Activity: Add some automated validation to your project

  1. In this pull request, add the following code to the REPLACE-ME-WITH-BUILD-SCRIPT placeholder in your .travis.yml file
 bundle exec jekyll build
  1. Commit your change.

You can do this by editing the file from the Files changed tab, or by scrolling down and accepting the suggested change.


I'll respond below with your next step.

@@ -11,3 +11,5 @@ env:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer
script:
- echo "Starting build!"
- REPLACE-ME-WITH-BUILD-SCRIPT
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- REPLACE-ME-WITH-BUILD-SCRIPT
- bundle exec jekyll build

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants