Commit graph

69 commits

Author SHA1 Message Date
James Truher [MSFT] 848948597f upload pester-tests.xml log file as an artifact (#3003) 2017-01-17 13:43:48 -08:00
Sergei Vorobev 961a76197b Replace travis.sh by travis.ps1
Fix problem with running Start-PSPester from the wrong directory
2016-11-18 17:45:57 -08:00
Andy Li 0f6d8bf077 move markdown-spellcheck installation to the install section 2016-10-31 18:02:26 -07:00
Andy Li 7147b82e9b add newline as requested 2016-10-31 18:02:26 -07:00
Andy Li 44f7951313 automatic spellchecking .md files in TravisCI (#838) 2016-10-31 18:02:26 -07:00
Andrew Schwartzmeyer f4b565161e Remove bundler v1.13.1
The new version of bundler is buggy and causing installation of fpm to
fail, which causes builds to fail.
2016-09-26 14:51:54 -07:00
Andrew Schwartzmeyer 663e2429bc Ignore macOS failures on Travis CI (#2345)
Since the Travis CI OS X infrastructure is incredibly unstable,
we need to let the builds run on a best effort basis,
but not report failure and not hang a result until its finished.

With this setup, the Linux build dictates the success,
completely ignoring OS X.
2016-09-22 15:09:26 -07:00
Andrew Schwartzmeyer 27530c403c Use direct download URLs instead of API
GitHub's API is throttled to 60 requests per hour per IP address when
for non-authenticated calls, which was causing severe CI flakiness.
While this adds another set of URLs to update for each release, the
alternative was adding an OAuth token and maintaining its ownership.
Moreover, this code is simpler than the previous API parsing.
2016-09-02 17:17:20 -07:00
Andrew Schwartzmeyer fc2e4e0e23 Revert "Temporarily disable OS X on Travis CI"
This reverts commit bbf64d17ad.
2016-09-02 17:17:20 -07:00
Travis Plunk 3bd6a3ec99 Removed travis-ci branch restriction now that we are using forks 2016-08-29 19:50:44 -07:00
Andrew Schwartzmeyer 1a8b4e94e8 Clone 1000 commits on Travis CI (#2124)
The previous failure we saw was because the most recent annotated tag
did not exist in the previous 50 commits. In my experience we've gone
about ~300 commits between tags, so I believe 1000 to be safe, but know
100 will not be.
2016-08-29 19:26:15 -07:00
Andy Schwartzmeyer bbf64d17ad Temporarily disable OS X on Travis CI
download.sh script is failing, working to resolve.
2016-08-18 08:49:41 -07:00
Travis Plunk d3d3103454 Remove AWS regison from travis-ci.yml 2016-08-18 08:26:53 -07:00
Andrew Schwartzmeyer 654425059f Fix Travis CI for public repo 2016-08-18 00:05:34 -07:00
Andrew Schwartzmeyer 5f396629f7 Use Ruby 2.2.1 explicitly on Travis CI OS X 2016-08-04 13:52:31 -07:00
Andrew Schwartzmeyer 120cc61a07 Downgrade to Xcode 7.3 2016-08-04 13:52:26 -07:00
Andrew Schwartzmeyer e936a7cd04 Remove Travis CI cache
It is unbearably slow on OS X.
2016-08-04 11:39:15 -07:00
Andrew Schwartzmeyer 5800b86a23 Revert "Temporarily disable OS X builds on Travis CI"
This reverts commit fef3871be2.
2016-08-04 11:03:54 -07:00
Andrew Schwartzmeyer fef3871be2 Temporarily disable OS X builds on Travis CI
OS X is failing due to home brew's OpenSSL package changes. Until we've
resolved .NET Core's use of the libraries, we need to disable the build.
2016-08-04 10:09:44 -07:00
Andrew Schwartzmeyer 6513830e8c Whitelist master and test branches for Travis CI
Only pull requests, merges to master, and branches starting with the
prefix "test" will trigger Travis CI builds.
2016-07-24 15:30:20 -07:00
Sergei Vorobev 1d8a181f60 Move GITHUB_TOKEN in tools/download.sh 2016-07-21 10:51:59 -07:00
Andrew Schwartzmeyer af9c4cb673 Don't build packages for pull requests
Since we don't want to build packages for pull requests (as they cannot
get archived as artifacts), we need a slightly different build command,
and moving it to a script was cleaner.
2016-07-18 12:44:28 -07:00
Andrew Schwartzmeyer ea930d3346 Remove Slack CI notifications 2016-07-18 12:23:05 -07:00
Andrew Schwartzmeyer 49bd13b642 Use os instead of matrix
Travis is being picky about how this is specified.
2016-07-18 11:40:10 -07:00
Andrew Schwartzmeyer 8ef8f9fada Add GitHub token as insecure environment variable
This should enable building via PR from forks.

This token has read-only access to download the installer packages, but
should nonetheless be revoked and replaced with a wget download when the
repository goes public.
2016-07-18 10:00:46 -07:00
Andrew Schwartzmeyer dd2f97c0aa Enable caching of dotnet and NuGet packages on CI 2016-07-13 13:56:25 -07:00
Andrew Schwartzmeyer 70ffa798a0 Switch to Xcode 8beta image
The 7.3 image is failing.
2016-07-08 13:09:35 -07:00
Andrew Schwartzmeyer 970641e691 Upload Travis CI packages to AWS
We need to cd into tools so that the downloaded PowerShell package isn't
subsequently uploaded to AWS.
2016-07-05 12:45:37 -07:00
Andrew Schwartzmeyer 985564416d Package PowerShell on Travis CI 2016-07-05 11:37:42 -07:00
Sergei Vorobev 4af2815740 don't call specific submodules init in CI: get them all 2016-07-01 13:16:52 -07:00
Andrew Schwartzmeyer fec2cb8b74 Use publish instead of build on Travis
AppVeyor also does this, and it's the scenario our packages ship, so
it's what we should test.
2016-06-29 09:52:32 -07:00
Sergei Vorobev 963ce9c1ab Remove src/windows-build from CI builds 2016-06-20 14:40:29 -07:00
Sergei Vorobev 333a809fe8 Revert "Temporarily disable xUnit tests"
This reverts commit 3d18f454f6.
2016-06-10 07:16:33 +00:00
Andrew Schwartzmeyer 0b0b141ea5 Move download.sh script to tools tree 2016-06-06 12:15:49 -07:00
Andrew Schwartzmeyer 3d18f454f6 Temporarily disable xUnit tests 2016-05-18 20:03:57 -07:00
Andrew Schwartzmeyer feded5d979 Import build.psm1 on Travis
`ag` ignored the `.travis.yml` when this change was made.
2016-05-18 19:48:28 -07:00
Andrew Schwartzmeyer 800fa4ca18 Remove env key from OS X build
`Start-PSBootstrap` takes care of this.
2016-05-17 13:28:44 -07:00
Andrew Schwartzmeyer 5c7fcbb462 Enable xUnit tests on Linux
We have to pretend they pass on OS X for now.
2016-04-14 18:07:33 -07:00
Andrew Schwartzmeyer 745fd43ede Increase ulimit on OS X 2016-04-14 09:45:18 -07:00
Andrew Schwartzmeyer 6851fe374c Enable OS X on Travis
Remove unsupported osx.10.10-x64 moniker. Use `osx_image: xcode7.3` to
get an OS X 10.11 image on Travis.
2016-04-14 09:45:18 -07:00
Andrew Schwartzmeyer b2bc4183fe Disable Travis CI OS X support
Unfortunately, Travis CI's OS X machines are 10.9.5, per
https://docs.travis-ci.com/user/osx-ci-environment/#CI-environment-OS.
While NuGet supports the RID, .NET Core does not yet publish 10.9
packages, resulting in a build failure we can't do anything about.

I've asked for best-effort support by providing runtime packages for
10.9 in dotnet/corefx#7731.

Revert "Add OS X 10.9 runtime"

This reverts commit 19ab0de84c.
2016-04-13 19:24:12 -07:00
Andrew Schwartzmeyer beccce54a8 Use matrix.include and fix OS X PATH 2016-04-13 19:24:12 -07:00
Andrew Schwartzmeyer aa1af214bc Add OS X to Travis CI matrix 2016-04-13 19:24:12 -07:00
Andrew Schwartzmeyer 995eaf4c0f Update Travis to use Start-PSBootstrap 2016-04-13 19:24:11 -07:00
Andrew Schwartzmeyer 285253da02 Disable xUnit tests on Travis temporarily
Until #806 is resolved.
2016-04-12 16:00:05 -07:00
Andrew Schwartzmeyer aa21bfc635 Use Start-PSPester on Travis 2016-04-01 22:35:00 -07:00
Andrew Schwartzmeyer f3f0bc0b11 Fix Pester path for Travis 2016-04-01 22:35:00 -07:00
Andrew Schwartzmeyer a158bf654d Disable Travis cache 2016-04-01 20:49:23 -07:00
Andrew Schwartzmeyer 4601340f54 Use Start-PSxUnit on Travis 2016-04-01 20:49:03 -07:00
Andrew Schwartzmeyer 9571b220b2 Initialize googletest submodule on Travis 2016-04-01 18:04:25 -07:00