Skip to content

Commit

Permalink
Updated CI
Browse files Browse the repository at this point in the history
* Added Travis-CI (pwsh on Linux and macOS)
* Added AppVeyor image for PowerShell v4
* Added AppVeyor tests on PowerShell v6
* Fix Tests to (also) run from Release Path
* Have CI run Pester Tests from Release (closes AtlassianPS#99)
* Have the Build script to "compile" the functions into the psm1 file (enhances performance)
* Have a zip file deploy as artifcat of the release (closes AtlassianPS#90)
* Added github files for CODEOWNERS and CONTRIBUTING
  • Loading branch information
lipkau committed Mar 18, 2018
1 parent fff8dee commit 537c316
Show file tree
Hide file tree
Showing 14 changed files with 821 additions and 433 deletions.
3 changes: 3 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# https://help.github.com/articles/about-codeowners/

* @atlassianps/maintainers @atlassianps/reviewers
25 changes: 25 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Contributing to AtlassianPS Homepage

Happy to see you are interested in helping.

We have a comprehensive documentation on how to contribute here: **[Contributing to AtlassianPS](https://atlassianps.org/docs/contributing/)**.

But here is the gist of it once you have forked the repository:

* before changing the code
```powershell
git clone https://github.com/<YOUR GITHUB USER>/ConfluencePS
cd ConfluencePS
# git checkout develop # not applicable for this repository
git checkout -b <NAME FOR YOUR FEATURE>
code .
```

* after making the changes
```powershell
git add .
git commit -m "<A MESSAGE ABOUT THE CHANGES>"
git push
```

* [Creating a Pull Request](https://help.github.com/articles/creating-a-pull-request/)
10 changes: 3 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
# Ignore configuration files
*.ini
*.conf
*.config
config.xml

# Ignore all files beginning with a dot (.)
.*
# except for git files
!.gitattributes
!.gitignore
!.github/
!.vscode/
!.travis.yml

# Ignore Release directory generated by local builds
Release/
Tools/
Tools/*.exe
ConfluencePS/en-US/
TestResult.xml

Expand Down
29 changes: 29 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
language: cpp

env:
- WikiURI=https://powershell.atlassian.net/wiki WikiUser=pester.agent secure: "ZeM/8kAvUgGIlyTcdAgnWuxMcrmYY3F6hpmjTF9JqgKWZr6msDa+6tfMdVD1zPZguRf35rceDxmbZtqtOIv4cdG07/v/BSohPCcp/zkRQqVM90JlXck8E/z5DZGY5Oq0B1SJnkCwCvUxFUjWzipM8J/s2FEa113w1N82yZsDit0Ed1UfxVG4BaXT0e9LJD4bCWixtxNMVZsWEf2g0PItbQVwY3oqOhy9jGjBRMYqaG01mpabRZbkdRG/y57R91hDTG3LikvSq7RqqkZh5fM+vPrQcxHZgxQ93KQ3sXHB0rk8VNdRjSyIKqsOtNw+9XXSeqgL5zI0yAens3gIwIkrCNyMI3J5mwHxyDsXzou4y7ei1XLR/JutPipMRs+s8gAugbD4U3VcWk9cktS18oFLDnolGG1PYZ2ZzsaznHLNcW4UK7EUL4FBIE+lI2UueP9y2rkuysLINWnla188aQwoYElyDvoe+Dt+iJkf+8hiRgWoi1R7UzrI6VqMV6Gdy2a88DTfSOCnFpfHPu1EUiar2vKG7d24ynqKlntlt4X6wt3QZxk7/R/9t3AoP8b7pu44c/a3dH+t7P1EyxDO8miL1UavAAF6DxdAYa5nwaunMVe2PHp3GhOXkgkpRE4xolbc/ihFXHsxuzM/Cup5MZ3XZySorxvtGQLmHMxNEGb0aZo="

matrix:
include:
- os: linux
dist: trusty
sudo: required
addons:
apt:
sources:
- sourceline: deb [arch=amd64] https://packages.microsoft.com/ubuntu/14.04/prod trusty main
key_url: https://packages.microsoft.com/keys/microsoft.asc
packages:
- powershell
- os: osx
osx_image: xcode9.1
before_install:
- brew update
- brew tap caskroom/cask
- brew cask install powershell

install:
- pwsh -File "./Tools/setup.ps1"

script:
- pwsh -Command "Invoke-Build"
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/),
and this project adheres to [Semantic Versioning](http://semver.org/).

## [2.1] - 2017-11-01
## 2.1 - 2017-11-01

IMPROVEMENTS:
- Shows a warning when the server requires a CAPTCHA for the authentication (#91, [@lipkau][])
- Custom classes now print relevant data in `ToString()` (#92, [@lipkau][])

## [2.0] - 2017-08-17
## 2.0 - 2017-08-17
A new major version! ConfluencePS has been totally refactored to introduce new features and greatly improve efficiency.

"A new major version" means limited older functionality was intentionally broken. In addition, there are a ton of good changes, so some big picture notes first:
Expand Down Expand Up @@ -104,7 +104,7 @@ If you like drinking from the firehose, here's [everything we closed for 2.0], b
[@lipkau](https://github.com/lipkau) refactored the entire module, and is the only reason `2.0` is a reality. In short, he is amazing. Thank you!


## [1.0.0-69] - 2016-11-28
## 1.0.0-69 - 2016-11-28
No changelog available for version `1.0` of ConfluencePS. `1.0` was created in late 2015. Version `.69` was published to the PowerShell Gallery in Nov 2016, and it remained unchanged until `2.0`. If you're looking for things that changed prior to `2.0`...sorry, but these probably aren't the droids you're looking for. :)


Expand Down
Loading

0 comments on commit 537c316

Please sign in to comment.