]> granicus.if.org Git - curl/commitdiff
travis: enable COPYRIGHTYEAR extended warning
authorDaniel Gustafsson <daniel@yesql.se>
Mon, 3 Dec 2018 22:18:59 +0000 (23:18 +0100)
committerDaniel Gustafsson <daniel@yesql.se>
Mon, 3 Dec 2018 22:18:59 +0000 (23:18 +0100)
The extended warning for checking incorrect COPYRIGHTYEAR is quite
expensive to run, so rather than expecting every developer to do it
we ensure it's turned on locally for Travis.

.travis.yml

index 3102a474c947c2f111cecf0204905474726740cb..d7e1cda5b43e58252598e3334d5c703ad616881d 100644 (file)
@@ -327,6 +327,9 @@ script:
                 make test-nonflaky
              fi
              if [ -n $CHECKSRC ]; then
+                echo "enable COPYRIGHTYEAR" > "lib/.checksrc"
+                echo "enable COPYRIGHTYEAR" > "src/.checksrc"
+                echo "enable COPYRIGHTYEAR" > "include/curl/.checksrc"
                 make checksrc
              fi
         fi