move travis, appveyor, ci.yml.disabled to unmaintained/ (#17828)

* move travis, appveyor, ci.yml.disabled to unmaintained

* update some mentions of travis, appevyor

* fix test
This commit is contained in:
Timothee Cour
2021-04-23 22:54:31 -07:00
committed by GitHub
parent 80df21d9a3
commit b667e288e2
12 changed files with 20 additions and 19 deletions

View File

@@ -57,6 +57,8 @@
- The unary slice `..b` was removed, use `0..b` instead or use `-d:nimLegacyUnarySlice`
for a deprecation period.
- Moved `.travis.yml`, `appveyor.yml.disabled`, `.github/workflows/ci.yml.disabled` to `unmaintained/`.
## Standard library additions and changes
- Added support for parenthesized expressions in `strformat`

View File

@@ -155,7 +155,7 @@ To run a single test:
./koch test run tests/stdlib/tos.nim # can also provide relative path
For reproducible tests (to reproduce an environment more similar to the one
run by Continuous Integration on travis/appveyor), you may want to disable your
run by Continuous Integration on github actions/azure pipelines), you may want to disable your
local configuration (e.g. in ``~/.config/nim/nim.cfg``) which may affect some
tests; this can also be achieved by using
`export XDG_CONFIG_HOME=pathtoAlternateConfig`:cmd: before running `./koch`:cmd:
@@ -517,7 +517,7 @@ Continuous Integration (CI)
the CI pipeline and affects other PR's; if you don't need it (e.g. for WIP or
documentation only changes), add ``[skip ci]`` to your commit message title.
This convention is supported by our github actions pipelines and our azure pipeline
as well as our former other pipelines:
(using custom logic, which should complete in < 1mn) as well as our former other pipelines:
`Appveyor <https://www.appveyor.com/docs/how-to/filtering-commits/#skip-directive-in-commit-message>`_
and `Travis <https://docs.travis-ci.com/user/customizing-the-build/#skipping-a-build>`_.

View File

@@ -328,9 +328,9 @@ proc parseSpec*(filename: string): TSpec =
when defined(unix): result.err = reDisabled
of "posix":
when defined(posix): result.err = reDisabled
of "travis":
of "travis": # deprecated
if isTravis: result.err = reDisabled
of "appveyor":
of "appveyor": # deprecated
if isAppVeyor: result.err = reDisabled
of "azure":
if isAzure: result.err = reDisabled

View File

@@ -3,7 +3,6 @@ discard """
OK AF_INET
OK AF_INET6
'''
disabled: "travis"
"""
import

View File

@@ -1,8 +1,3 @@
discard """
output: "15"
disabled: "appveyor"
"""
import memfiles
var inp = memfiles.open("tests/stdlib/tmemlinesBuf.nim")
var buffer: string = ""
@@ -11,5 +6,4 @@ for line in lines(inp, buffer):
lineCount += 1
close(inp)
echo lineCount
doAssert lineCount == 9, $lineCount # this file's number of lines

View File

@@ -2,7 +2,6 @@ discard """
cmd: "nim c --threads:on $file"
exitcode: 0
output: "OK"
disabled: "travis"
"""
import os, net, nativesockets, asyncdispatch

View File

@@ -1,8 +1,4 @@
discard """
disabled: "appveyor"
"""
# appveyor is "out of memory"
# was: appveyor is "out of memory"
var x: ptr int

View File

@@ -5,7 +5,7 @@ joinable: false
disabled: 32bit
"""
# no point to test this on system with smaller address space
# appveyor is "out of memory"
# was: appveyor is "out of memory"
const
nmax = 2*1024*1024*1024

11
unmaintained/readme.md Normal file
View File

@@ -0,0 +1,11 @@
Deprecated, unused and unmaintained files can be moved here when they have some value,
e.g. if someone want to revive them in their project or in this repo. If a deprecated and unused file
is redundant, it should just be removed instead.
See also https://github.com/nim-lang/graveyard, which is maintained on a best effort basis
and has different goals.
## table of contents
.travis.yml -> unmaintained/.travis.yml
appveyor.yml.disabled -> unmaintained/appveyor.yml
.github/workflows/ci.yml.disabled -> unmaintained/ci.yml